Lesson 11 / 11100%

Lesson 11

Animation Basics

22 min

Keyframes, Timeline and video rendering: bring your objects to life.

Definition

Animation is the art of creating the illusion of movement by rapidly displaying a sequence of images that are slightly different from one another. In 3D, animation involves changing an object's property (its position, rotation, size, color, etc.) over time. Each image in this sequence is called a frame.

The Principle of Animation

Animation means describing how a property changes over time: position, rotation, size, color, and more. In Blender, you only define a few important moments, called keyframes. Blender automatically calculates what happens between two keyframes.

This saves a tremendous amount of time. In traditional hand-drawn animation, every frame had to be created individually. Here, you act as the director: you specify the starting and ending points, and the computer fills in the movement between them. This calculation of intermediate values is called interpolation.

Imagine a ball resting on the ground. You want it to move to the right over two seconds. You do not need to change its position on every frame. Simply record its position at the beginning, then its new position at the end. Blender automatically calculates the intermediate positions to create the movement.

The same principle works with many different properties. You can animate a rotating cube, a growing sphere, a light that changes intensity, or a moving camera. Keyframes therefore allow you to create both simple animations and much more complex movements.

Diagram of a moving ball: a keyframe at position A on frame 1, a keyframe at position B on frame 60, and automatically calculated intermediate positions shown with dotted lines.

Understanding Keyframes

A keyframe records the value of a property at a specific moment. For example, a keyframe can indicate that a cube is at position X = 0 on frame 1. A second keyframe can indicate that it is at X = 5 on frame 60.

Blender then uses these two pieces of information to calculate the positions between frames 1 and 60. If the interpolation is linear, the cube moves at a constant speed between the two positions. With Bézier interpolation, it can start slowly, accelerate, and then slow down before arriving.

Keyframes are not only used to define the beginning and end of a movement. You can add several keyframes to create changes in direction, pauses, or variations in speed. The more control you have over important moments, the more you can customize your animation.

example: moving a ball
Frame 1  : ball on the left
Frame 30 : ball in the center
Frame 60 : ball on the right

Blender automatically calculates
the positions between these keyframes.

The Timeline

The Timeline, at the bottom of the screen, represents time using frame numbers. The playhead indicates the current frame. In a standard Blender scene, the animation range often goes from frame 1 to frame 250, with the initial frame rate generally set to 24 frames per second. These values can be changed.

This rate is calledframes per second (FPS). At 24 frames per second, a 48-frame animation lasts two seconds. The Start andEnd fields in the Timeline define the part of the animation that will be played and rendered.

The Timeline works like a numbered ruler. Each number represents a frame of the animation. When you move the playhead, Blender displays the state of the scene at that specific moment. You can therefore examine an animation frame by frame without starting playback.

Keyframes appear as small diamonds. Their horizontal position indicates when they are recorded. By moving these diamonds, you can change the timing of the animation without having to recreate the object's movements.

Screenshot of the Timeline showing the playhead, playback buttons, and keyframes represented by yellow diamonds.

Understanding FPS

FPS (Frames Per Second) indicates the number of frames displayed each second. The higher this value, the more different positions an animation can represent over the same duration.

Animation at 24 FPS is common in cinema. Videos at 30 FPS are also very widespread, while 60 FPS can be used to create a particularly smooth impression of movement. The choice depends on the desired style and the final use.

duration examples
24 frames at 24 FPS = 1 second
48 frames at 24 FPS = 2 seconds
72 frames at 24 FPS = 3 seconds

60 frames at 30 FPS = 2 seconds
120 frames at 60 FPS = 2 seconds

To change the FPS, open theOutput tab in the Properties panel, then find the frame rate setting. Be careful: changing the FPS without changing the number of frames can affect the duration of your animation.

Navigating Through Time

To change frames, click or drag along the Timeline ruler. The playhead follows your movement. You can also use the keyboard, which is often more precise:

navigating the Timeline
Spacebar             start / stop playback
Right Arrow          next frame
Left Arrow           previous frame
Up Arrow             next keyframe
Down Arrow           previous keyframe
Shift + Left Arrow   return to the first frame

The playback buttons in the Timeline also allow you to start, stop, or navigate through the animation. This lets you control the movement without using keyboard shortcuts.

To work precisely, place the playhead directly on the desired frame number. You can also use the current frame field to enter a numeric value, such as 60. This method prevents you from accidentally placing a keyframe at the wrong moment.

Creating Your First Animation

We are going to create a simple animation: an object moving from point A to point B. This exercise helps you understand how keyframes and interpolation work without using complex tools.

moving an object
1. Select the object and set the Timeline to frame 1
2. Press I in the 3D Viewport to insert a keyframe
   (depending on the version, choose Location if a menu appears)
3. Go to frame 60 and move the object using G
4. Press I again to insert another keyframe
5. Press Spacebar to play the animation

You can do the same thing with rotation (R) and scale (S) to animate a rotating or growing object. Simply record the values at the desired moments.

Once a keyframe has been inserted, the corresponding value appears highlighted in the Properties panel and the sidebar: yellow when the current frame contains a keyframe, and green when the property is animated but no keyframe is present at that moment.

If you modify an animated value without recording a new keyframe, it may return to its calculated value as soon as you change frames. Remember to insert a keyframe after every modification you want to keep in the animation.

Be Careful with Blender Versions

The behavior of theI key may vary depending on the version and context. In recent versions, it may directly use a predefined set of properties to animate. You can also place the pointer over a property field and press I to insert a keyframe for that specific property.

Animating Position, Rotation, and Scale

Blender's three main transformations can be animated. Each produces a different type of movement. You can also combine them to create a more complete animation.

  • Position: moves an object from one location to another in the scene.
  • Rotation: rotates an object around one or more axes.
  • Scale: allows an object to grow or shrink.

Example: Animating Rotation

Select a cube, go to frame 1, and record its initial rotation. Then go to frame 60, rotate the cube usingR, and record a new keyframe. When you start playback, the cube rotates gradually.

Example: Animating Scale

To create an object that appears by growing, start with a very small scale. Record this value on the first frame. Then go to a later frame, restore the object's normal size, and add a second keyframe.

Blender automatically calculates the intermediate sizes. This type of animation can be used to make objects appear, create transitions, or animate graphic elements.

Editing or Deleting a Keyframe

  • Move a Keyframe: select the diamond in the Timeline, press G, and move it horizontally.
  • Duplicate a Keyframe: select it, pressShift + D, then place the copy at another moment.
  • Delete a Keyframe: select it and pressX.
  • Change the Duration: move two keyframes closer together or farther apart. The closer they are, the faster the change.

When you move a keyframe in the Timeline, you change the moment when its value is reached. You do not directly change the recorded position or rotation. This distinction is important: the Timeline is mainly used to organize events over time.

For example, if a cube reaches its final position at frame 60, moving that keyframe to frame 30 shortens the movement. The cube reaches the same position, but in less time. The movement therefore becomes faster.

Understanding Animation Speed

Speed depends on the distance traveled and the available time. If an object must travel a long distance in only a few frames, its movement will be fast. If it travels the same distance over more frames, it will move more slowly.

example: object speed
Movement of 5 units:

Frames 1 to 24  : fast movement
Frames 1 to 48  : slower movement
Frames 1 to 96  : even slower movement

The distance remains the same.
Only the duration changes.

You can therefore change the speed of an animation simply by moving the keyframes. This method is very useful for adjusting the timing without starting the entire process again.

Refining the Movement

By default, movement generally uses Bézier interpolation, which produces gradual acceleration and deceleration. To change this behavior, switch the Timeline editor to the Graph Editor. The curves describe how animated values change over time.

On a curve, a steep slope means the value changes quickly. An almost flat curve indicates that the value changes very little. By moving the handles of each point, you can create a sudden start, a smooth stop, or even a small bounce.

The Graph Editor allows you to precisely control how a property changes. It is not only used to adjust speed: it can also create more expressive, natural, or mechanical movements.

Screenshot of the Graph Editor showing an object's position curve with its handles visible.

Understanding Animation Curves

In the Graph Editor, the horizontal axis represents time, while the vertical axis represents the value of the animated property. For example, a Z-position curve indicates the object's height at each frame.

If the curve rises, the value increases. If it falls, the value decreases. If it remains horizontal, the property keeps approximately the same value. The shape of the curve therefore helps you understand the movement without directly watching the scene.

The handles of Bézier points control the curvature between keyframes. By moving them, you can make a transition more gradual or more abrupt. This technique is widely used to improve the smoothness and style of animations.

Types of Interpolation

You can change how Blender calculates intermediate values. In the Graph Editor or Dope Sheet, select some keyframes, pressT, and choose a type:

  • Bézier: allows gradual acceleration and deceleration. This is the default setting.
  • Linear: the value changes at a constant rate between two keyframes, producing a more mechanical movement.
  • Constant: the value remains fixed, then changes abruptly at the next keyframe, without a transition.

When Should You Use Each Interpolation Type?

Bézier interpolation works well for natural movements, such as a ball starting slowly or a camera slowing down before stopping. It helps avoid overly abrupt transitions.

Linear interpolation is useful when an object must move at a constant speed. For example, it may be suitable for a conveyor belt or steady mechanical movement.

Constant interpolation is useful for creating instantaneous changes. It can make an object jump to a new position without a transition, or produce certain frame-by-frame animation effects.

Creating an Animation with a Pause

To pause a movement, you can record the same value at two different moments. Blender then maintains that value during the interval, provided that other animated properties do not cause additional movement.

example: movement with a pause
Frame 1  : ball on the left
Frame 30 : ball in the center
Frame 60 : ball in the center
Frame 90 : ball on the right

The ball reaches the center,
stays still, then starts moving again.

This method is useful for creating educational animations, product presentations, or movements involving several stages. It gives viewers time to observe an element before the animation continues.

Animating Multiple Objects

A scene can contain several animated objects at the same time. Each object can have its own keyframes and movements. This allows you to create coordinated animations.

For example, imagine two cubes. The first moves to the right between frames 1 and 60. The second starts moving at frame 30 and finishes at frame 90. The two movements overlap during part of the animation.

To avoid confusion, give objects clear names in the Outliner. You can also use theDope Sheetto organize keyframes from multiple objects more easily. This editor provides an overview of the animations in the scene.

Understanding the Dope Sheet

The Dope Sheetis an editor specialized in organizing keyframes. Unlike the Timeline, it displays more details about animated objects and properties.

It allows you to select, move, duplicate, or delete multiple keyframes with greater precision. You can also change the overall timing of an animation by moving several keyframes together.

For a first project, the Timeline is usually sufficient. But when you start animating multiple objects, the Dope Sheet becomes a very useful tool for keeping your scene organized.

Producing a Video

To render the entire animation, use Render > Render Animationwith the shortcutCtrl + F12. Before doing so, set the output folder and output format in the Output tab, for example FFmpeg video if that option is available. Rendering an animation takes much longer than rendering a still image: start with a short duration and a reduced resolution.

The total time is easy to calculate: multiply the average rendering time per frame by the number of frames. If one frame takes 30 seconds and your animation contains 240 frames, rendering will take approximately two hours. This is why it is better to test with a short frame range and reduced resolution before starting the full render.

Choosing the Output Format

Blender can save an animation as a video or an image sequence. A video is convenient for sharing the result directly. An image sequence allows you to keep each frame separately.

  • Video: convenient for watching and sharing a completed animation.
  • PNG Sequence: saves each frame individually and makes it easier to resume after an interrupted render.

For a short and simple animation, a video may be sufficient. For a longer project, an image sequence is often preferable. You can then combine the images in video-editing software or directly in Blender.

Preparing Your Animation Before Rendering

Before starting the final render, make sure the animation works correctly in the 3D Viewport. It is better to fix movement problems before starting a calculation that may take a long time.

  • Check Keyframes: make sure they are placed at the correct moments.
  • Check the Duration: correctly set the start and end frames.
  • Observe Movements: check paths, rotations, and pauses.
  • Check the Camera: make sure animated objects remain visible in the frame.
  • Create a Test Render: use a reduced resolution before the final render.

Good to Know

To delete a keyframe, select it in the Timeline and press X. If your object "jumps" instead of moving smoothly, make sure you have two keyframes separated in time and that the chosen interpolation matches the desired result.

A Good Habit

Before rendering an animation, make sure theStart andEnd values in the Timeline match the desired duration. In a standard scene, Blender may render up to frame 250, even if your animation ends much earlier.

Common Animation Mistakes

  • The Object Does Not Move: make sure you have recorded at least two keyframes with different values.
  • The Movement Is Too Fast: move the keyframes farther apart to increase its duration.
  • The Movement Is Too Slow: move the keyframes closer together to reduce its duration.
  • The Object Jumps Suddenly: check the interpolation type used between the keyframes.
  • The Animation Lasts Too Long: check the Start and End fields in the Timeline.

These mistakes are common when learning animation. In most cases, simply checking the keyframes, their positions in time, and the animated properties will help you identify the problem.

Practical Exercise: A Ball Moving Up and Down

To put this lesson into practice, we are going to create a simple animation of a ball that moves upward, stays at the top for a moment, then returns to its initial position. This exercise allows you to work with several keyframes and observe how they affect the timing of the movement.

mini-project: animated ball
Frame 1  : Z position = 0
Frame 24 : Z position = 3
Frame 48 : Z position = 3
Frame 72 : Z position = 0

1. Add a sphere
2. Record its position at frame 1
3. Move the sphere upward at frame 24
4. Keep the same position at frame 48
5. Move it back down at frame 72
6. Start playback with Spacebar

Observe the resulting movement. The ball gradually rises, stays at the top, then moves back down. You can then adjust the keyframes to speed up the upward movement or slow down the descent.

To go further, open the Graph Editor and try different interpolation types. Compare Bézier movement with Linear movement. You will notice that the path can remain the same, while the feeling of speed changes.

Key Takeaways

  • Animation means changing a property over time using keyframes.
  • Blender automatically calculates intermediate values through interpolation.
  • The Timelineallows you to navigate through the animation and organize keyframes.
  • FPSdetermines the number of frames displayed per second.
  • You insert a keyframe usingIin the appropriate context and start playback using the Spacebar.
  • The Graph Editorallows you to refine how values change and adjust the style of movement.
  • Bézier,Linear, and Constantinterpolation produce different behaviors.
  • Ctrl + F12starts rendering the animation after setting the frame range and output format.

Exercise

Animate a sphere moving upward by 3 units along the Z-axis between frames 1 and 48, then play the animation using the Spacebar. Next, add a third keyframe to bring the sphere back down to its initial position. Observe how the movement changes when you move the keyframes in the Timeline.

Go Further

Add a rotating camera movement around your scene over 120 frames and render a low-resolution video. Then try Linear interpolation using the T key in the Graph Editor and compare it with the default Bézier movement. Finish by adding a pause to the animation using two keyframes with the same value.