Site icon Treehouse Blog

Animation and Motion Design at Treehouse: Process and Workflow

Hi, I’m Jake, a Motion Designer here at Treehouse. We use a lot of animation and motion, and some of you have been asking to learn more about it in our Community forums. This post is intended to give you a glimpse into our process using this transforming robot as the example. I’ve also provided a version of the After Effects file for educational purposes, in case you would like to play around with the robot yourself.

Play Gif

 

Also, even if you’re familiar with Motion Design, I’m going to share some insight into my personal method for creating the Treehouse motion look, which might give you some good tips for your own process. Let’s get started.

Why Animation and Motion?

Great design, enjoyment of our courses, and serving our students are fundamentals of the Treehouse experience. The Motion Team believes in our mission, and loves being a part of the learning process.

Animation helps educate, entertain, explain a complex idea or no idea at all. It’s a way to speak to everyone. I enjoy breaking down abstract ideas or complex lessons into simple metaphors. Or sometimes just seeing what’s happening under the hood when you implement code or access a database can be extremely helpful in getting a fundamental grasp of the subject. It’s an important part of our teaching process, and hopefully helps break up the monotony of a teacher just talking over a frozen computer screen.

Before I begin the animation or design concept, here is my thought process…

Three main principles of Treehouse design for teaching:

  1. Teaches subject manner effectively in a simplistic way.
  2. Fun and engaging.
  3. Retain a high production value while also meeting a deadline.

Questions I ask myself before designing the segment:

The Process

Usually, it all starts with the Teachers. They write a script, gather ideas for where they want to show motion and what concepts they feel animation will help explain. Then pass it over for a design review by a Motion Team member. Much like you would with a client, except our clients are our Teachers and our Students are the target audience. For example, let’s say the teachers concept would be easily explained by using a transforming robot who rockets off the screen. Why not.

We’ll be creating the assets in Adobe Illustrator (we try and keep everything vector and flat as is our design style, so we avoid Photoshop), and animation them in Adobe After Effects. AE isn’t perfect for this kind of work, but for the cost and ease of transferring into a video editing pipeline, it’s the best available option right now. Some people use Flash, but I have personally found it difficult to get precise video sizes and timing in a pipeline like ours, that and I’m more accustom to AE in general.

There are other options out there like Toon Boom, or CelAction2D, but the cost and detail/time they require are tough to justify for our current needs.

Once in a while, I’ll create our look with 3D objects in Autodesk Maya. I’ll try to follow up with a later post detailing my 3D/2D workflow for those of you interested.

Asset Design

So, we have our script and motion concept. Sometimes we storyboard it out, sometimes we design a frame of the concept if we feel we need to get an additional OK from the education staff, but we work with fast turns and effectively small teams. Sometimes we just go for it.

Here’s where the fun begins, first we pick a background color from our brand swatches, then I like using an Apple App called Spectrum to kinda help me decide what colors might go with it.

Looking up some references to get a good handle on the direction you want your design to take is always great. I love 80s Japanese Robots. I wanted to make the transformer/bot live in that style.

After getting an idea of the general look and working from there, I go through a few different designs till I settle on the final. Always consider:

Here’s some of the initial ideas:

Final design:

Now that we’ve got our flying robot, it’s time to break him into layers for animation. You must have every element you want to be separate in its own layer in Illustrator in order to have them as separate items in After Effects.

I generally do a Release to Layers (sequence) in AI ( Illustrator) to just break apart the pieces into layers.

It’s messy, so you’ll need to clean it up before using AE. Generally, the way to go is to group elements that are planned to be animated as one piece into the same layer and label your layers. It’s easier to do this sort of planning in AI than AE so you don’t have to Pre-Comp and Parent a million layers that do not have to have separate controls for animation.

Now that the layers are organized, it’s time to go to AE.

Animation Setup

When you import your AI file, you want to set it to Import As: Composition – Retain Layer Sizes. This will keep the layers in the right places and make it a little easier to set the center points to create your “rig” for this character.

The file should import in its own Comp with the layers in a folder in the Project Window, when you open its Comp, all your naming and grouping work you did in AI will carry over.

It’s a good idea to go ahead and select the Continuously Rasterize buttons for your vector layers. That will make AE update the vector every time it refreshes the screen keeping clean crisp lines. You can’t just turn it on on the Comp level, every layer from the top down needs to be checked. It’s one of the more annoying things in default After Effects when working in an all vector environment. If you’re using a base background that doesn’t move like I am, go ahead and lock that layer while you’re down there.

Start Pre-Comping to get elements that animate in a larger group but at the same time need to animate on their own within that group. The more you do it, the more you’ll know what you should Parent, Pre-Comp, or leave alone. Again, this is another process that might feel like a pain. It’s key to saving headaches later and reusing this character for other animations or Animators.

Keep in mind, every item and character has a different need or complexity based on what you’re doing with it and what you need to animate. Generally, I try to make it possible for a variety of needs.

Once you have your Layers and Pre-Comps all set up, its time to move center points. It’s basically the axis to which the layer pivots. you need to set this before setting keyframes. For example, I moved the head antenna center point down to the layers base because I want some secondary action when I pop the head up from the robots chest. In order to do that, I need to have the layer setup with the axis I need. This goes for every layer you want to animate. Since this is a transforming Robot where just about everything moves, we got some work to do. .

Now that the “rig” or setup is complete, we can finally start putting some life in him. You’ll notice I changed the feet a little, made more sense for the animation once I got into it. If you don’t have any strict art direction, its always good to test the designs movement and make changes if you need to.

 

Animation

For this animation, there is no Voiceover I need to time to, if there was, I’d use the * key to mark the timeline while playing the .wav file to have a rough idea where things happen.

A few things I love using, there’s a Bounce script I like for adding some automation. I originally saw this on the website Greymachine , he’s got some great stuff. Real early contributor to the After Effects community.

It’s easy to modify his scripts to get what you want. I generally set the decay to match the speed of my keyframe Velocity which controls the ease and speed of the motion curve.

This window should be your friend.

Here’s the simple Bounce script. If you’re a bit of a coder, you can make it a drag and drop along with a slider to control your decay rather than doing it manually.

Just copy and past it as an expression to just about any keyframable property to get a nice oscillation effect.

amp = .1;

freq = 2.0;

decay = 6.0;

n = 0;

if (numKeys > 0){

n = nearestKey(time).index;

if (key(n).time > time){

n–;

}}

if (n == 0){ t = 0;

}else{

t = time – key(n).time;

}

if (n > 0){

v = velocityAtTime(key(n).time – thisComp.frameDuration/10);

value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);

}else{value}

OK, as we animate, just pay attention to weight, movement, scale and add as much secondary motion as possible to make it interesting and fun. At this point, its up to you. I hope to add a new blog soon that gets into the 12 fundamentals of animation and some in-depth examples on a more complex character.

For the most part, I like just hand animating most things and not using a lot of plugins, canned ease, automation or physics. Generally I stick to the bounce expression and maybe the Wiggler for anything extra.

Play Gif

Before we finish, I want to add some speed lines for FX in a loop and some engine fire from the wings. This is the final you saw at the top of the blog.The whole point of the wings opening is to accelerate and go up. The speed lines should adjust accordingly to add that sense of momentum and change in direction. Plus, they are fun.

Play Gif

 

When it’s done, we like to render it in an Animation Lossless codec HD  720 or 1080, and send it off to editing for SFX and get added to the timeline. The video editors will do the compression we need. We render out full resolution as to avoid color shifts and double compression passes before it hits the site to ensure maxim quality. For fun, I like to take an 800 x 600 render into Photoshop to make an animated gif loop for Dribbble.

Quick Dribbble tip for Gifs.

If you’re a Dribbble user, remember you can’t pick your thumbnail at this time. For that reason, I like to Pre-Comp my animation, split it around the middle and move the end to the front making a stable loop showing the first frame where I want the thumbnail to be. Though I didn’t realize that in the beginning, it helps get views if the thumbnail is set up right.

And you get a good thumbnail for the gif loop.

Play Gif

Well, that’s about it for the overview. Feel free to ask questions or comment below. Enjoy the file, it’s a simple rig of the bot to mess around with. Let me know if you animate anything!

Rocketbot

Thanks for reading!

Jake Kemper

Exit mobile version