defineModule( "directors", function( app, model, view ) { var selectedDirector; var Director = Class.extend({ init: function( name, bio, id, odd ) { this.name = name; this.id = id; this.bio = bio; this.selected = ko.observable(false); window.app.ko.TemplateEngine.createStringSource( "director-"+this.id, this.bio ); this.bioTemplate = "director-"+this.id; this.showProject = this.showProject.bind(this); this.closeProject = this.closeProject.bind(this); this.projectVisible = ko.observable(false); this.selectedProject = ko.observable(); this.loading = ko.observable(false); this.odd = odd; }, closeProject: function(){ this.projectVisible(false); }, showProject: function(id) { if( selectedDirector && selectedDirector != this ) selectedDirector.projectVisible(false); //this.projectVisible( !this.projectVisible() ); var self = this; app.loadResource("project",{ type:"GET", data:{ id: id }, success: function(project){ self.selectedProject(project); self.projectVisible(true); model.scrollToDirector(self.id); } }) } }); model.directors = [ new Director( "Aaron Duffy", "

Aaron joined 1stAve in 2007, changing the landscape of the company. His first effort, Audi Unboxed<\/a>, garnered our first Cannes Lion. His work for Google Speed Tests<\/a> brought 7 more into the pride. In 2015, Aaron was named first out of the \u201c30 Most Creative People in Advertising Under 30\u201d by Business Insider<\/a>. Aaron\u2019s experimental and collaborative efforts are always geared towards making a human connection, regardless of technique, as can be seen his Super Bowl spot, Google Parisian Love<\/a> and his viral music video for OK Go<\/a>.<\/p>", "aaron-duffy", false), new Director( "Andrew Sloat", "

Andrew\u2019s love of the \u201ctheatre of typography\u201d is reflected in his installation First Amendment<\/a>, when his work took over Times Square. Recently, Facebook asked Andrew and Aaron to explore the meaning of love in Love Is For Sharing<\/a>. When not teaching at RISD, he shares his talent with brands like Google, Amex<\/a> and The New York Times<\/a>.<\/p>", "andrew-sloat", true), new Director( "Arvind Palep", "

Sixes Last<\/a> and the 1stAveMachine<\/a> promo film from director and co-founder Arvind Palep caught the industry\u2019s attention for his fresh approach. Arvind combines cinema v\u00e9rit\u00e9 with exquisitely designed and animated machines, both robotic and biological, like Ted<\/a>. The films garnered the attention of 180 Amsterdam, who commissioned his first commercial, Adidas Modular Man<\/a>. Arvind is currently creatively leading 1stAve\u2019s newly opened LA office, while working on his narrative projects, including his first feature film and the sci-fi short, ARVIND PALEP'S VISION FOR NYC 2050<\/a>.<\/p>", "arvind-palep", false), new Director( "Asif Mian", "

Asif\u2019s creativity is bold and unforgettable, from commercial work, to music videos, to sculptures, Castello<\/a> showcases Asif ability as a sculptor. Unbelievable to most that the magic was all in camera, we offer up the Castello BTS<\/a> as evidence. I Wasn't Made For Fighting<\/a> is poignant for its sculptural use of design and the human form. Asif also has an uncanny ability to engage viewers with unconventional storytelling and clever slight of hand, creating physical magic for Ford CMax<\/a>. Choreography of camera, set and talent bring Moto Hint<\/a> and SONY<\/a> and CADILLAC<\/a> to life.<\/p>", "asif-mian", true), new Director( "Baz", "

Baz\u2019s work can be described as colorful and almost glitch-like in their aesthetic, embodying a generation raised on internet culture. In his video for Isaiah Toothtaker & Rapewolf<\/a>, he hilariously channels the inner soul of disaffected youth. For slightly lighter fare, check out his video for Klo Pelgag<\/a>. He often blends fact and fiction, by casting non-actors and pushing narrative boundaries. This ultimately results in work distinctively marked: Baz. Check out a short mashup of his work HERE<\/a>.<\/p>", "baz", false), new Director( "Ben Steiger Levine", "

Ben\u2019s films often border on bizarre and beautiful, through clever re-imagination of the human form. Ben\u2019s work for Sprite<\/a> was inspired by his music video, So Called<\/a>. Ben\u2019s work for Beast<\/a> was featured at the S&S New Director\u2019s Showcase, ADC Young Guns, and earned him a Grammy nomination. His recent work includes Kellogg\u2019s<\/a> and his recent collaboration with Martin Allais for Samsung<\/a>, which won a Bronze Lion Award at Cannes 2015.<\/p>", "ben-steiger-levine", true), new Director( "Bob Partington", "

Bob\u2019s unconventional approach to invention, fine art, and engineering captured the hearts and minds of 1stAve from the very first meeting when Bob was the designer\/fabricator on Google Speed Tests<\/a>. Sure that Bob's unique talent and childlike curiosity was meant for more, 1stAve conceived of and produced a show on celebrating the same, History Channel's THINGAMABOB<\/a>. Bob's unique thinking has produced some great projects for Google Maps<\/a>, Google Fiber<\/a>, and OK Go's The writing's on the wall<\/a>.<\/p>", "bob-partington", false), new Director( "D.A.D.D.Y.", "

D.A.D.D.Y. aka Mike and Enda, are comedy gold as their Daily Million<\/a> and more eccentric Project Haha<\/a> films attest. More than funny guys, their cinematic and sensitive sides permeate their beautiful Christmas film for Spar<\/a>. In fact, these renaissance men are also the published authors of the serious scientific tomes, 100 Facts about Sharks and 100 Facts about Pandas, available from Amazon.<\/p>", "daddy", true), new Director( "Dvein", "

Dvein is a two-headed animal \u2014 a collaborative duo that pushes the limits of live action and CGI storytelling. Directors Teo Guillem and Carlos Pardoa utilize their background in fine art and design to merge the physical with the digital, creating a seamless fusion that shines in their commercial work, including Jean Paul Gaultier\u2019s WELCOME TO THE FACTORY<\/a> and JEAN-PIERRE BRAGAZA<\/a> for River Island. Their music videos GHOSTS<\/a> and MAGMA<\/a> showcase how this ability manifests in the creation of vivid, fantastic environments. At the heart of their work lies an experimental core which continues to evolve and develop, and is evident in their independent short, WE WANDER<\/a>.<\/p>", "dvein", false), new Director( "Jonathan Gurvit", "

After more than 10 years as an award-winning Creative Director, Jonathan Gurvit decided to start a new career as a director. His first spot \u201cHAIR CONDITIONER\u201d<\/a> earned him a Bronze Lion at Cannes. Fearless wit and courageous curiosity combine to create the heart-warming ALPENLIEBE<\/a>, as well as the hilarious YUZU<\/a> and NARTA<\/a>. A flair for drama and intensity underscore BGH<\/a> and SKOL<\/a>. The most asked question \u2014 How'd he do that? Technique agnostic, Jonathan's work is built on clever combinations of live action, photo-real CG, and art direction.<\/p>", "jonathan-gurvit", true), new Director( "Karim Zariffa", "

Karim's love of design and art direction breathe life into his work, including his trippy film \"CHOOS-THE-MANGO<\/a>\" for Frooti, starring Bollywood superstar Shah Rukh Khan. Working with multiple formats and technologies, his work showcases an understanding of in-camera magic, as seen in Google\u2019s ANDROID WEAR<\/a> and the humorous film \u201cTENNIS<\/a>\" for Koodo, both of which were co-directed with longtime collaborators Vall\u00e9e Duhamel. Karim\u2019s works have earned him recognition at the Gemini Awards and the ADC Young Guns. Outside of the studio, he also loves to experiment with bringing his graphic aesthetic to pieces shot on location, such as these witty pieces for VIDEOTRON<\/a>.<\/p>", "karim-zariffa", false), new Director( "Marc Reisbig", "

Never one to be confined to a single technique, Marc glides easily between stop-motion, CG, illustration and live-action; his dexterity on full display in films like <\/a>Jamie\u2019s Dream School<\/a>. Always up for a new technology, he\u2019s even made a film using 3D Printing, Brooks<\/a>. A Norwegian by birth, Marc\u2019s Scandinavian design sensibility is a constant throughout his work, as seen in this charming stop-motion film for Oslo Airport<\/a>.<\/p>", "marc-reisbig", true), new Director( "Martin Allais", "

Martin Allais thrives on experimentation while maintaining a tradition in traditional cell animation. His work, like IBM BONES<\/a> and Oreo Wonderfilled<\/a>, push the boundaries of genre with bold, imaginative visuals and singular character design. In Facebook Love<\/a> demonstrates Martin's mastery of mix media animation. His recent collaboration with Ben Steiger Levine for Samsung<\/a> won a Bronze Lion Award at Cannes 2015.<\/p>", "martin-allais", false), new Director( "Maxime Bruneel", "

Bruneel is a prolific filmmaker. Whether it\u2019s shooting a music video for a friend\u2019s band or holed up in a studio making stop-frame animation for a client, his drive to create new work is never-ending. The result is an impressive, inventive and diverse catalogue of work. Examples of this can be seen in his most recent films, including his mesmerizing mixed-media mash up for adidas Originals, \"Remember the Future,<\/a>\" featuring Kate Moss; his live action music video for French brand Mennen<\/a>; and his now infamous promo for TT, Diplo and Swick, Dat A Freak<\/a>, which he painstakingly roto-scoped each frame to create.<\/p>", "maxime-bruneel", true), new Director( "Nico Casavecchia", "

Nico captured a Gold Lion (and set a World Record in the process) with his atomic film for IBM<\/a>. Nico\u2019s style crosses genres and mediums. His film Buildings and Vampires<\/a> is a nod to Where the Wild Things Are. In contrast to that sweet homage, his work also includes the uber edgy film Slamdance<\/a>. Nico collaborated with Roman and Tomi to bring to life the acclaimed Sonos<\/a> campaign. Recently, Nico teamed up with Lowe's to create a 360-VIDEO<\/a> showing how to build a teepee in one minute.<\/p>", "nico-casavecchia", false), new Director( "Nico Kasakoff", "

With an eye for a distinctly authentic, cinematic look, Nico showcases his knack for working with talent and bringing a sense of humanity to pieces like SIGNS<\/a> for Coca-Cola and MOVE YOUR BUTT<\/a> for Nike. His work encompasses a diverse range of genres, from quirky comedies for GOT MILK<\/a> to more emotive pieces such as FORD CURIOSITY<\/a>, and subtly weave in-camera tricks and CG with engaging performances, as seen in his work for STELLA ARTOIS<\/a>.<\/p>", "nico-kasakoff", true), new Director( "Roman Rütten", "

Roman\u2019s Vision Express<\/a> showcases his unique approach to mixed media projects. The spot\u2019s Behind the Scenes<\/a> illuminates the complex layering of live action unique to Roman\u2019s work. More mixed-media work includes, \u201cSpirit of Innovation\u201d for Hyundai<\/a> and the acclaimed Sonos<\/a> campaign, a collaboration with Nico and Tomi.<\/p>", "roman-rutten", false), new Director( "Sophie Gateau", "

Since Sophie Gateau\u2019s transition to directing from the fashion industry, clients ranging from TED<\/a> to Moen<\/a> have sought out her innovative visual approach and charming tone. Her training in Architecture, Graphic Design, and Film Direction have endowed her with a special perspective on space and volume. Innovation is key to Sophie's aesthetic, and she is constantly adapting to newer technologies in order to harness their creative capacities. Make sure to check out her work for Adidas<\/a>.<\/p>", "sophie-gateau", true), new Director( "Tim Brown", "

Coming from a music video background, Tim\u2019s first commercial endeavor, Google Extensions<\/a>, won him an AICP Next award. Squarespace tapped Tim for their Build It Beautiful<\/a> Campaign, which along\u00a0Lincoln Motor Company<\/a>\u00a0showcases Tim's passion for design. His keen eye for beautiful documentary style work shines through in his work for ETSY<\/a>\u00a0and Withdraw<\/a>. Most recently, Tim teamed up with Bob Partington for Stella Artois<\/a>, a stunning zoetrope made of the brand's trademark chalices to help raise awareness of the global water crisis.<\/p>", "tim-brown", false), new Director( "Tomi Dieguez", "

Diesel\u2019s Assland<\/a> brought Tomi to Cannes for the Saatchi & Saatchi New Director\u2019s Showcase. Diverse and fearless, Tomi conquers in camera live action tasks for MOTO E<\/a> and fabulous graphics for Be Like Mike for GATORADE<\/a>. Tomi also directed the very popular web series Gluko and Lennon<\/a>. Tomi's most recent effort pairs him with RPA LA to show off HONDA PILOT<\/a> and 72&Sunny on Sonos<\/a>.<\/p>", "tomi-dieguez", true), new Director( "Tronco", "

Founded in 2014 by Tomi Dieguez, Antonio Balseiro, and Lautaro Brunatti, Tronco was conceived as an audiovisual factory with a focus on experimentation. A specialist in mixed media, their projects fuse a wide variety of techniques -- from traditional 2D animation to stop-motion, 3D, photoreal CG, and even puppetry. Buenos Aires-based, their work for clients such as GATORADE<\/a> and Sonos<\/a>, showcase their ability to seamlessly integrate various mediums, while their work for Nintendo<\/a> and PANERA BREAD<\/a> feature their unique spin on traditional techniques.<\/p>", "tronco", false), new Director( "Ubik", "

London-based director duo Ubik is made up of the combined talents of established animation and live-action directors Nick Losse and Stephen Dalton. Over the years, Ubik have worked with a multitude of clients and collaborators from the worlds of advertising, broadcast, film, print and music to create work with a common thread and ethos. Their beautiful work for Late Rooms<\/a> and MTV<\/a> showcase Ubik's eye for visual storytelling, while their films for HoyHoy Health<\/a> feature their talent for CG-character design and performance.<\/p>", "ubik", true), new Director( "Vallée Duhamel", "

Montreal-based filmmaking duo Julien Vall\u00e9e and Eve Duhamel, or as they\u2019re more succinctly known, Vall\u00e9e Duhamel, continually surprise and delight by creating complex narratives that marry art direction, design, and hand-rigged objects with high-end production techniques. Their film \u201cMETAMORPHOSIS\u201d<\/a>for Hermes and their independent effort A VERY SHORT FILM<\/a> showcase their synthesis of techniques that often leave the viewer wondering, \u201cHow\u2019d they do that?\u201d Their signature playful spirit and illusory transitions can be seen throughout their work, as shown in SAMSUNG ONE PEN<\/a> and the seemingly one-shot wonder, SODEC<\/a>.<\/p>", "vallee-duhamel", false), ]; function getDirectorById( id ) { return ko.utils.arrayFirst(model.directors, function(item) { return item.id === id; }); } model.initialize = function(deeplink) { // If you need to preload anything additional do it here... // ...otherwise just set the percent loaded to 1 (100%) this.setPercentLoaded(1); }; model.scrollToDirector = function( uid ) { if( !uid ) return; var $t = $( "#"+ uid ), top = $t.offset().top, wh = $(window).height(), th = $t.height(); var scrollTo = top - ( (wh - th) / 2 ); $('body').animate({scrollTop: scrollTo},'fast'); } model.onDeeplink = function(deeplink) { model.scrollToDirector(deeplink[0]); } view.rendered.add( function(){ // Do any transitioning in you want to do... }); view.ended.add( function() { // Do any transitioning out you want to do... then call view.complete(); }); });