Video

Creative Commons License

Keyframes

Keyframes are the basis for nearly all modern forms of animation, and I consider them to be the single most important concept in After Effects...simply put, if you don't understand how keyframes work, you'll never get much done in After Effects.

The concept of keyframes goes back to traditional hand-drawn animation. In a Disney cartoon, for instance, every single frame used to be drawn by hand. This can be very time consuming when you consider that a typical film runs at 24 frames per second - that's 1440 drawings per minute of animation, and approximately 130,000 drawings for a typical feature length movie! It's prohibitively time-consuming and expensive to have your best artists drawing all of those pictures, so studios needed a way to distribute the work. Using key frames allowed them to do this. The lead artist would draw only the most important frames in a sequence. For instance, if a character is jumping over a log, the lead artist would draw the first frame as the character prepares to jump, a second frame showing the character in mid-air over the log, and a third frame showing the character landing on the other side of the log. Once these three frames(the keyframes) are completed they can be sent off to a junior animater(today they might be sent overseas) who's job is to draw all the frames in between the keyframes. This allowed the animators to work more efficiently and made feature length animation feasible.

Today, using a program such as After Effects, we can set the keyframes and let the computer draw all the in-between frames(this is called tweening). Although we aren't actually drawing anything in AE, the basic concept is the same. You set a keyframe for each property you want to animate on a layer, move to a different point on the timeline, then change the layer's properties at the new time. Once you change a property a second keyframe is set, and now the computer can calculate the change between those two keyframes.

After Effects will set keyframes for you automatically, but first you need to tell it you want it to do so. When you toggle down a layer property you will see a tiny stopwatch icon to the left of the property's name (1). If you click this icon, you will see a small diamond appear on the timeline at the playhead's current position (2). Keyframes are now turned on for that property and the diamond represents the first keyframe. Next you need to change the current time by moving the playhead to a different location on the timeline. Once you have done this, change the property which you turned on keyframes for. You should see a new diamond appear on the timeline at the playhead's new position - this is your second keyframe (3). Now move the playhead back to the first keyframe and press the spacebar to preview your comp - you should see the property you keyframed change smoothly between the first keyframe and the second.

Important things to remember about keyframes

I've just covered the basics of keyframing here - however, you'll find as you work more with AE that these basics are something you will use in every AE project you undertake. Next week we'll focus on manipulating keyframes - moving, copying pasting, deleting, and using the different kinds of keyframes.