Keyframing

On this page 7

Keyframing is the animation technique in which an artist sets the value of a property at specific frames, called keyframes, and the software calculates every frame in between by interpolation. In video, and especially in motion graphics and VFX, it drives almost every change over time: position, scale, rotation, opacity, color, mask shape, effect strength and camera moves.

The method comes from traditional cel animation, where senior animators drew the key poses and assistants drew the in-betweens. In compositing and motion design software the computer takes the assistant role, so the quality of a keyframed animation depends on where the keys sit and how the interpolation is shaped, not on the number of keys.

How keyframing generates motion

Keyframing works by storing a value-time pair for an animatable parameter and interpolating between consecutive pairs on every frame the timeline renders. A layer keyed at x = 200 px on frame 0 and x = 1,000 px on frame 24 moves 800 px in one second at 24 fps; the curve between the two keys decides whether it moves evenly or eases in and out.

Each key carries two separate kinds of interpolation. Temporal interpolation controls how the value changes over time, that is, speed and acceleration. Spatial interpolation applies only to position-like properties and controls the path the layer follows through the frame, which can be a straight line or a Bezier curve with tangent handles.

The table below summarizes the main temporal interpolation modes found in professional motion graphics and compositing tools.

ModeHow the value changesTypical use
LinearConstant rate between keys, abrupt speed change at each keyMechanical motion, counters, steady pans
Bezier (eased)Speed shaped by tangent handles on each keyNatural motion, logo reveals, camera moves
Auto BezierSmooth curve computed automatically from neighboring keysQuick smooth motion without manual handles
Continuous BezierSmooth curve with linked handles, no velocity breakFlowing paths through several keys
Hold (constant)Value jumps at the next key with no in-between framesText swaps, stepped animation, on/off switches
Temporal interpolation modes

Graph editors and the shape of motion

The graph editor is where keyframing becomes a precise craft, because it shows each property as a curve against time instead of as isolated diamonds on a timeline. Two views exist: the value graph, which plots the parameter itself, and the speed graph, which plots its rate of change in units per second.

Easing is defined by the influence and velocity of the tangent handles. A short handle produces a sharp transition, and a long handle with high influence (often 60-85% for motion design work) creates the slow start and soft landing that viewers read as weight and intention. A sudden spike in the speed graph usually shows a velocity break that appears on screen as a visible jerk.

The following table lists the keyframe types an artist typically meets and what each one does to the curve.

Keyframe typeEffect on the curveWhen to choose it
Ease inDecelerates into the keyAn object landing or settling into place
Ease outAccelerates away from the keyAn object starting from rest
Easy easeDecelerates in and accelerates outA default smooth start and stop
Roving keyTime position adjusts to keep speed constantUniform speed along a curved path
Hold keyFreezes the value until the next keyStepped or deliberately choppy animation
Common keyframe types

Keyframing compared with procedural and tracked animation

Keyframing is explicit, artist-authored animation, and it sits beside other ways of producing change over time in the Topic. Motion tracking derives keys from the movement of features in footage, rotoscoping uses keyframed mask shapes frame by frame, and expressions or procedural controllers compute values with formulas instead of stored keys.

ApproachSource of valuesStrengthWeakness
Manual keyframingValues set by the artistFull creative controlSlow for complex or organic motion
Motion trackingFeature movement in the plateMatches real camera motionFails on blur, occlusion and low detail
ExpressionsCode or formulasRepeatable loops, wiggle, linkingHarder to tweak visually
SimulationPhysics solverRealistic dynamicsLess direct art direction
Motion captureRecorded performer dataHuman nuance at scaleDense keys that need cleanup
Ways to animate a property

In practice these approaches combine: tracked data is often converted to keyframes and refined by hand, and keyed values can drive expressions. Optical flow is a related but different idea, because it estimates pixel motion between frames rather than animating parameters.

Working practices for clean keyframed animation

Clean keyframing starts with blocking the key poses first, setting timing with few keys, and only then refining curves. Adding keys too early creates dense, uneven curves that are hard to edit and tend to produce wobble and overshoot.

  • Animate on the extremes: place keys where motion starts, stops or changes direction.
  • Keep keys aligned across related properties so position, scale and rotation change together.
  • Separate dimensions of position when the x and y axes need different easing.
  • Use null objects or parenting to layer simple moves instead of keying one complex move.
  • Check the speed graph before rendering, not only the visual preview.

Frame rate matters because keys snap to frames. A move keyed for 24 fps delivery may land between frames when conformed to 25 or 29.97 fps, so the project frame rate should match the delivery frame rate before animation begins.

Limitations and common keyframing mistakes

Most visible keyframing problems come from interpolation side effects rather than from wrong values. The table pairs typical symptoms with their causes and fixes.

SymptomLikely causeFix
Robotic, mechanical motionLinear keys throughoutApply easing and shape the speed graph
Layer drifts past its targetBezier overshoot between keysSet the end key to ease in or hold
Jerk in the middle of a moveVelocity break at an inner keyUse continuous Bezier or a roving key
Curved path when a straight one was intendedAuto Bezier spatial interpolationSwitch spatial interpolation to linear
Stuttering after frame rate changeKeys falling between framesMatch project and delivery frame rates
Keyframing problems and fixes

Keyframing also scales poorly to highly organic motion such as cloth, hair or crowds, where simulation or capture is more efficient. Its main advantage remains precise, predictable control, which is why title animation, user interface motion and camera moves still rely on it.

In everyday language

Keyframing means telling the computer where something should be at a few important moments, and letting it fill in the rest. You say the logo starts small at the first second and is full size at the second second, and the software draws every frame between those two moments.

The skill lies in how the movement feels. A ball that rolls at one steady speed looks fake, while one that speeds up gently and slows down before stopping looks natural. Keys set the destinations, and curves set the feeling.

Seen in the real world

A motion designer at a broadcast graphics studio animates a lower-third name strap for a news program delivered at 25 fps. The bar slides in from the left over 12 frames, the name fades in 4 frames later, and the whole element holds for 5 seconds before sliding out.

The first pass uses linear keys and looks stiff. The designer converts the entry keys to easy ease, raises incoming influence to about 80% in the speed graph so the bar decelerates into place, and adds a hold key to the text opacity. The result is a fast, confident entrance that settles softly, and because the timing lives in a few keys, the template can be reused for every guest with only the text changed.