demosthenes.info

I’m Dudley Storey, the author of Pro CSS3 Animation. This is my blog, where I talk about web design and development with , and . To receive more information, including news, updates, and tips, you should follow me on Twitter.

featured articles

popular favourites

Essential Animation Concepts Explained: Keyframes, Tweening and Framerate

Pencil test for Timothy Mouse from Dumbo by Fred Moore

Keyframes, tweening and framerate are concepts shared by almost every process that creates animated sequences, including Flash, 3D applications, video editors, and now CSS3. As such, it’s very important to understand the basics of animation.

The classical animation process, pioneered by Walt Disney, was a natural evolution of the production line developed by Henry Ford and other industrial magnates of the early 20th century. It was a response to a simple problem: past the relative simplicity of Steamboat Willy, it was almost impossible for any one person to create an animated feature by themselves in anything like a reasonable amount of time. Instead, the primary drawings of an animation sequence – the key frames – were drawn by a lead animator. In a cartoon character’s leap, those frames might be the crouch, the moment of upwards drive, the top of the leap, and the landing. These keyframes would be passed off to leagues of junior animators, who would draw, or fill in, the frames in-between these moments, using the key frames as a reference (thus creating the term “tweening”).

Modern digital media artists are today’s lead animators, with the computer taking the work of tweening. What’s important is that we create the best keyframes possible, so that the computer can understand what we are trying to achieve.

When we create our animation, we have the ability to control how many frames appear between each keyframe, or (alternatively) how much time elapses between each keyframe. As a general rule, the more time/frames between keyframes, the smoother and slower the resulting animation will appear; fewer frames tend to result in choppy, staccato animation.

Playback smoothness will also depend on playback rate: a higher framerate (i.e. more frames per second) will result in a smoother movement, all other things being equal. It’s notable that CSS3 animation has a higher framerate than JavaScript/JQuery.

You must be signed up in order to leave comments.

web developer guide

featured comment

by Aisling Brock in New Business Card Design

what i'm reading

A Feast for Crows: A Song of Ice and Fire: Book Four
A Feast for Crows: A Song of Ice and Fire: Book Four

what i'm watching

Prometheus: Collector's Edition (Bilingual) [Blu-ray 3D + Blu-ray + DVD + Digital Copy]
Prometheus: Collector's Edition (Bilingual) [Blu-ray 3D + Blu-ray + DVD + Digital Copy]

what i'm playing

Borderlands
Borderlands

what i'm hearing

Planets
Planets

blogs

podcasts

no ads ever

This blog is free of advertising, and always will be.

creative commons licensed

The content of this blog is free to use in whatever way you wish under the Creative Commons license.