Sub topic 6
Interpolation: Constant, Linear, Bezier and the Others
Assume you can insert keyframes and use the Dope Sheet or Timeline. You should also know basic object properties such as location, rotation, and scale. This chapter focuses on how Blender calculates values between two keyframes.
What interpolation controls
An F-curve stores a property value at particular frames. Interpolation is the rule Blender uses to calculate the values between those keys.
For example, an object's X location might be 0 at frame 1 and 4 at frame 24. The interpolation mode determines whether the object jumps, moves at a steady speed, or accelerates and slows down.
In the Graph Editor, select one or more keyframes and press T to open the Interpolation menu.
| Mode | Result | Typical use |
|---|---|---|
| Constant | Holds the previous value until the next key | Switches, stepped animation |
| Linear | Changes at a constant rate | Mechanical motion, simple timing |
| Bezier | Uses handles to control acceleration | Most organic motion |
| Sine, Quad, Cubic, and others | Uses a predefined acceleration curve | Quick easing without manual handles |
Constant and Linear
Choose Constant when a property should remain unchanged until a specific frame. A light can stay off and then turn on. A character's mouth-shape value can switch between poses. Constant interpolation creates an intentional step rather than a smooth transition.
Choose Linear when the value should change at a constant rate. If an object's X location changes from 0 to 4 over 23 frames, linear interpolation moves the same distance each frame. This is useful for a conveyor belt or a camera that must travel at a steady speed.
Do not use Linear simply because it looks predictable. Constant speed can feel mechanical when the viewer expects an object to accelerate or stop.
Bezier and predefined easing
Bezier interpolation uses a curve between keyframes. Its handles control the slope as the motion leaves the first key and approaches the second. The default Bezier curve often produces a natural ease-in and ease-out.
The Interpolation menu also contains modes such as Sine, Quad, Cubic, Quart, Quint, Expo, Circ, Back, Elastic, and Bounce. These modes apply mathematical shapes automatically. For example:
- Sine gives a gentle ease.
- Quad through Quint increase the strength of the ease.
- Back overshoots before settling.
- Elastic creates a spring-like motion.
- Bounce produces repeated impacts near the destination.
After choosing one of these modes, press Shift+E and choose an easing direction:
- In applies the effect near the first key.
- Out applies it near the second key.
- In and Out applies it at both ends.
Some modes are most useful for motion graphics or interface animation. For character animation, Bezier handles usually give more control.
> callout tip > Interpolation controls the whole segment between two keys. Easing controls where the acceleration effect is concentrated within that segment.
Python equivalent
The Python API sets interpolation on each keyframe point. This example changes the X-location curve of the active object to Linear interpolation.
import bpy
obj = bpy.context.object
if obj is None or obj.animation_data is None:
raise RuntimeError("Select an animated object first.")
action = obj.animation_data.action
fcurve = action.fcurves.find("location", index=0)
if fcurve is None:
raise RuntimeError("The object has no animated X-location curve.")
for keyframe in fcurve.keyframe_points:
keyframe.interpolation = "LINEAR"
fcurve.update()Exercise
Exercise
An object should stay at one location until frame 20 and then move immediately to a new location. Which interpolation mode should you use, and why?
Show answer
Use Constant interpolation. It holds the first value until the next keyframe, then changes in a step.