KS3 · Computer Science
Creating a 3D animation
Pause any animated film and you're staring at a still picture. So did someone pose every object in every picture? Almost never, and the trick is brilliant.
Computer Science · Algorithms
Trace table — dry run the code
A ball is keyed at x = 0 on frame 0 and x = 100 on frame 10, and the clip runs at 10 frames per second. Step through and watch who fills in each row.
Ready when you are — step through one line at a time.
3D modelling · meshes
Layers
Explore
Switch the Faces layer off and the 'solid' cube turns into a wireframe. Then pick each part to see what it is.
The same cube after its four top vertices were moved inwards.
Looks like a solid block. It isn't. It's a surface built from points, lines and flat faces.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
You record a few key poses. The software fills in the frames between them. Then rendering calculates every frame you'll actually see.
What you need to know
- An animation is still frames shown fast enough to look like movement; the frame rate is how many frames appear each second.
Have a goA 2-second clip runs at 25 frames per second. How many still images does it contain?
50 frames.
Frames per second means 25 for every second, so 2 × 25 = 50. Adding the numbers (27) or giving just 25 forgets the second second.
- With keyframes, you record an object's position, rotation or scale at chosen frames. The software calculates the frames in between.
- Count the gaps, not the frames: keys at frames 0 and 10 are 10 frame-steps apart, with 9 frames strictly between them.
Have a goYour mate Jordan keys a dragon at frame 0 and frame 20, then groans: 'Great, now I've got to pose it 20 more times.' Is Jordan right?
No. The software calculates frames 1 to 19, and that's 19 frames, not 20.
Jordan only records the keyframes; the in-betweens are calculated. And because both ends are keys, there are 19 frames strictly between them, one fewer than the 20 gaps.
- A 3D scene is a virtual space with three axes, x, y and z, so every object has a position, rotation and size.
- Most 3D objects are meshes: vertices (points), edges (lines joining two vertices) and faces (flat surfaces enclosed by edges).
- Models usually start as a primitive, such as a cube, sphere or cylinder, which you then edit, for example by moving vertices.
- Translate moves an object, rotate turns it and scale resizes it, along the x, y and z axes.
Have a goYou stretch a cube so it's three times taller but no wider and no deeper, and it stays in the same place. Which transformation, and along how many axes?
Scale, along just one axis.
Its size changed, so it's scale, not translate (it didn't move) or rotate (it didn't turn). Only the height changed, so only one of the three axes was scaled.
- Materials and textures give a surface its colour and finish, lights light the scene, and the camera decides what the viewer sees.
- Rendering calculates every final frame from the models, materials, lights and camera, which is why it can take so long.
- Plan first, with a sketch or storyboard for your audience; then build, test, evaluate against that plan and improve.
The big picture
An animation is still frames shown fast enough to look like movement; the frame rate is frames per second. You record keyframes (position, rotation or scale at chosen frames) and the software calculates the frames in between. Objects sit in x/y/z space as meshes of vertices, edges and faces, built from primitives and changed by translating, rotating and scaling. Materials and textures, lights and the camera together decide the look, and rendering calculates every final frame, so it can be slow. Plan for an audience first, then build, test, evaluate against the plan and improve.
Key points
Worked example
Problem
A door in your scene needs to swing open by 90° over 2 seconds. Your project runs at 24 frames per second, and the door starts closed on frame 0. Which frames should you make keyframes, how many frames will the software calculate, and what angle will the door be at on frame 24, if the software fills the gap in equal steps?
⚠ Watch out
Thinking the animator has to pose the object on every frame, or that a keyframe is a finished picture. A keyframe is a recorded value (like x = 100 at frame 10); the software calculates the in-between frames, and rendering later turns every frame, keys included, into a final image.
Memory hook
Keys, gaps, draw. You set the keys, the computer fills the gaps, then the render draws every single frame.
Check yourself
Keys at x = 0 (frame 0) and x = 60 (frame 60), equal steps. How many frame-steps, how many frames does the software fill in, and where is the ball on frame 30?
Flashcards
(12)What is a frame?
What does the frame rate tell you?
What does an animator record on a keyframe?
Who makes the frames between two keyframes?
Why does a 3D object have a position, rotation and size in three dimensions?
Vertex, edge, face: what's each one?
What is a primitive, and how does it become a complex model?
Translate, rotate, scale: what does each change?
Material or light: which gives an object its surface colour and finish?
What does the camera decide?
What is rendering, and why can it be slow?
What do you evaluate a finished 3D animation against?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore KS3 Computer Science topics
How this lesson was checked. This KS3 Computer Sciencelesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 27 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.