Follow the lecture’s six-step history: the camera obscura, the laterna magica, the zoetrope, Humorous Phases of Funny Faces, Steamboat Willie and Snow White. Click a timeline entry to get its own viewer and controls — a pinhole/lantern projection, the playable drum, or the real film excerpt.
A smaller pinhole sharpens the projected image but dims it; the lantern slider changes the projected brightness.
Select an entry to switch the viewer and its parameters. The zoetrope is interactive; the film entries play the lecture excerpts.
Animation is not movement, it is a sequence of still frames. Play them fast enough and the eye fuses them into motion. Change the frame rate, hold frames “on twos”, or sample a spinning wheel too slowly and the illusion changes character — or reverses.
Tip: Pause in the header, then Step to walk the animation one tick at a time — exactly how an animator checks a cycle.
The OpenToonz sample’s six-drawing run cycle: the raw scanned pencil drawings, a cleanup line, the ink/flat-fill level painted in the sample’s colour-model palette, and the final composite over the layered painted background. Use onion skin to see the neighbouring drawings, and the exposure buttons to shoot the cycle on ones / twos / threes.
The sample’s paint pass is a Toonz raster level that has no decoder here; the TGA frames are the ink/flat-fill layer, painted with the tan/green/red palette sampled from the colour model so the ink and composite stages are not see-through. The colour model is the paint reference.
Disney’s multiplane camera put the artwork on glass planes at different distances from the lens. Pan or
dolly the camera and each plane shifts by a different amount — near planes sweep, far planes creep.
Toggle parallax off to see the flat stack it replaced, and open the depth view for the
side-on diagram. Layers are loaded from the drop-in assets/ folder.
Drag the canvas to pan; the planes move by their depth factor.
A key-frame is a pose the lead animator draws; the in-betweens connect them. Today the computer does the in-betweens by interpolation. Drag the key handles to reshape the move, pick the easing curve, and switch to “on twos” to see the same keys sampled at half the rate.
The curve is the interpolation; the ball below is the result. “On twos” holds each sampled value for two frames — the dashed staircase is the limited-animation look.
Play the course material: Foxy’s individual pixel frames or Spelunky’s 1040×1040 atlas with 72 non-empty named slices. Change the clip, frame rate and exposure; the sheet inspector shows the real frames/slices (click one to pin it). Palette cycling recolours the same art with a hue filter, and the trail leaves motion ghosts.
Click a frame in the sheet to pin it. Palette cycling recolours the same cells; the trail leaves ghosts of the preceding frames.
The real Spelunky 1040×1040 atlas with 72 non-empty named 80×80 slices: pick a clip to highlight its frames and click a slice to read its rect/UVs. The second mode is the shelf packer, where changing the sheet width and padding trades atlas size against wasted space.
Texture atlases are why sprite sheets exist: one bind, one batch, hundreds of frames. The shelf algorithm here is a simplified version of what real packers do.
Decompose the model into parts, arrange them in a parent/child tree, and animate the parts. A child always inherits its parent’s transform: rotate the body and the head, arms and legs follow. But the parts are rigid, so over-rotate a joint and the cel cracks open at the seam — which is exactly why skinning exists.
The body is the root (no parent). Head, arms and legs are its children. Pick a bone or drag its joint; the rotation slider gives precise control. The sprite itself stays fixed — only the bones rotate.
The real Solaire layered PSB (7 parts: torso, head, feather, two arms, two legs) driven by the Unity prefab’s 15-bone cut-out chains and the real Run, Idle, Crouch, Jump and Praise clips. Each part is banded at the bone joints, so the legs bend at the knee and the arms at the elbow. Toggle the bone overlay, play/scrub a clip, or switch to Pose and drag a joint (FK).
Drag to orbit? No — this is 2D: play/scrub the clip, or enable Pose and drag a joint to rotate that bone (children follow). Clicking a joint selects it.
Two real subjects: the MorphShape NanoSuit with its three responsive targets (Sphere,
Cube, Shrinkwrap), and the curated Vincent head with 26 useful facial shapes
(Mouth_*, Cheek_*, Eyelid_*, Brow_*, Smile_* …).
Blend with the sliders or presets, inspect one target in isolation, switch to a displacement heat-map
(blue → red) or a full wireframe, or enable the wire overlay on top of any view, and orbit the result.
The 3D studio needs WebGL; the sliders, presets and weights still work.
The lecture’s simplified tentacle: a constant-section chain of blocks (no narrowing tip) driven by a bone chain. Each cross-section is bound to nearby bones by weight; its position is the weighted sum of the bones’ delta transforms. Turn the weights rigid and the blocks crease; blend them and the chain bends. Drag any joint or block, or use the bone/angle controls for precise posing.
The heat-map colours each patch by its dominant bone. Smooth weights share influence across the joint; rigid weights snap to one bone and the seam creases — the crack from the rigid tab, now fixable.
Orbit the real course rigs: NanoSuit (160 bones, 512² textures), Humanoid, Humanoid IK, Tentacle, the Face (129 bones). Switch between mesh / wireframe / bones, then use influence: every vertex is coloured by its dominant bone, or by the selected bone’s weight (blue = 0 → red = 1). Click any joint to inspect it; the Humanoid IK and Vincent rigs ship with baked clips.
The 3D tabs need a WebGL-capable browser; everything else is Canvas 2D and works offline.
Drag to orbit · middle-drag to pan · wheel to zoom · click a joint to inspect its weights. Vincent hides the long bone list: click joints instead.
A scene is many tracks on one timeline: a clip track (walk → jump → wave), a camera track (pan + zoom keys) and a beat track. Scrub the playhead and the whole scene follows. Snap to beat pulls the clip starts onto the beat grid — the Mickey-Mousing trick that locks action to music (a bridge to the Sound Lab).
Forward kinematics is explicit: set each joint and the end follows. Inverse kinematics is implicit: place the effector target and solve for the joints. The two-bone arm is solved with the law of cosines; the snake uses a CCD solver. Drag the target.
Out of reach, the solver clamps to the maximum extension (the reach circle). More than two bones need an iterative solver — CCD rotates each joint and its subtree toward the target, tip to base; the base can aim anywhere, while neighbouring bones are limited relative to each other, so close targets curl the chain.
A planar two-link robot arm solved in closed form — the law of cosines, no iterative solver. The whole system of equations updates live beside the arm, with the numbers substituted, and the vectors (l₁, l₂, the reach d) are drawn on the arm itself. There are two solutions (elbow-up / elbow-down) whenever the target is in reach.
Same arm, now with mass and gravity. Forward dynamics turns torque into motion; inverse dynamics does the reverse — given a motion, find the joint torques. The manipulator equation τ = M(θ)θ̈ + C(θ,θ̇)θ̇ + G(θ) updates live, split into inertial / Coriolis / gravity terms, with the torque vectors drawn on the joints.
The same punch with every “game feel” trick on a switch: anticipation, motion smear, hit-stop, screen shake, squash & stretch, after-images and follow-through. Underneath, secondary motion is just damped springs.
Turn effects off one at a time to isolate them — a hit with no hit-stop and no shake reads as weightless. “Secondary motion” shows the same spring used for hair, tails, and camera lag.
Click the canvas to replay the punch.
Traditional animation
- Cel
- transparent sheet holding one element of a frame; stacked back-to-front.
- Key-frame
- pose drawn by the lead animator; the extremes of a movement.
- In-between
- the intermediate drawings that connect keys (today: interpolation).
- Full / limited
- 24 fps vs 12 fps of new drawings.
- On ones / twos
- a drawing held for one or two display frames.
- Loop
- a short cycle that repeats (walk, idle, run).
- Multiplane / parallax
- layers at different depths moved at different rates for depth.
Game animation techniques
- Sprite sheet / atlas
- many frames packed into one texture; playback advances the index.
- Palette cycling
- recolour a sprite by shifting its palette.
- Rotoscoping
- tracing over captured footage, frame by frame.
- Rigid hierarchy
- parts parented in a tree; a child inherits its parent’s transform (cracking at the seams).
- Per-vertex
- every vertex stored per frame — exact, but memory-heavy.
- Morph target
- blend a few extreme poses by weight (faces, body types).
- Skeletal / skinning
- bones drive vertices by weights; the workhorse of character animation.
Skeleton & motion
- Joint / bone
- a transform (with a parent) and the segment it draws.
- Root
- the parentless joint; moving it moves the character.
- Bind pose
- the neutral rest pose (often a T-pose) used for rigging.
- Local / global
- compose with the parent, or transform from model space.
- FK
- pose each joint explicitly; children follow.
- IK
- place an effector and solve for the joints (two bones: law of cosines).
- Clip / timeline
- a named range of keyframes; local (looping) or global time.
- Blending
- running several clips at once, mixed by weight (cross-fade).
- Retargeting
- reusing one clip on a differently-proportioned skeleton.
Timing & tricks
- Easing
- non-linear interpolation ($t^2$, sine, cubic-bezier…) that gives weight.
- Squash & stretch
- deform with speed, preserving volume.
- Anticipation
- a small wind-up before the action.
- Follow-through
- overlapping secondary motion that lags behind (springs).
- Smear / motion blur
- a stretched drawing that fakes speed between keys.
- Hit-stop
- a few frozen frames that sell impact.
- Stroboscopic aliasing
- sampling a fast rotation too slowly reverses its apparent direction.
The 12 principles (Thomas & Johnston)
- Squash & stretch
- Anticipation
- Staging
- Straight ahead vs pose to pose
- Follow-through & overlapping action
- Slow in / slow out
- Arcs
- Secondary action
- Timing
- Exaggeration
- Solid drawing
- Appeal
The maths
Interpolation, easing and the two kinematics forms the lab leans on.
See the Analytical IK and Inverse Dynamics tabs for the live versions.
This lab is built from the IZHV course material and third-party art. The committed assets/ folder
carries a machine-readable credit/licence for every imported file; the table below is generated from that manifest,
so a missing credit is visible immediately. The lab is for non-commercial teaching; the CC BY-NC
cel sample in particular must not be reused commercially.
Course material
- OpenToonz cel sample
- — © DWANGO Co., Ltd. 2018 · CC BY-NC 4.0 · created by Yuki Murata; background Yumi Ishii (Dehogallery, Inc.); ink & paint Misato Aita · opentoonz.github.io
- Lecture 9 figures & film excerpts
- — IZHV Lecture 9 figures; video excerpts by their original creators · used for non-commercial course teaching.
- Parallax demon woods
- — David Marah (@aethrall) · permissive (“commercial OK; credit appreciated”) · used with permission.
- Rikr
- — Unity Technologies (2D Animation samples) · used with permission.
- Foxy
- — Brackeys (2D Animation) · used with permission.
- Spelunky atlas
- — Derek Yu · used with permission.
- Solaire
- — © FromSoftware (Dark Souls); parts split by Tomas Polasek · used with permission.
- Vincent
- — Andy Goralczyk / Blender Studio · CC BY 4.0 · studio.blender.org.
- NanoSuit
- — © Crytek · model by nova3.com (Sketchfab) · modifications by Tomas Polasek · used with permission (non-commercial course use).
- Humanoid
- — Mixamo (Adobe) · Mixamo terms (free use).
- MorphShape / TentacleRig / VertexAnimation
- — © Tomas Polasek · author’s own.
Software & tools
- three.js r147
- — three.js authors · MIT · vendored in
vendor/three/. - Blender 5.2.3
- — Blender Foundation · GPL-2.0-or-later · used offline to export the GLBs; not shipped.
- Tailwind CSS
- — Tailwind Labs · MIT · vendored.
- KaTeX
- — Khan Academy / KaTeX contributors · MIT · vendored.
- GameRigTools
- — BlenderBoi · GPL-3.0 · an offline authoring tool only; no GPL code is shipped.
- Graphy
- — Martín Pane · MIT · not used by the lab.
Asset manifest — every imported asset carries a credit + licence
0 entriesGenerated at runtime from GAL.assets.credits (written by the import/manifest scripts). Raw downloads, the 396 MB blend and the FBX sources stay in the git-ignored tmp/mats/; only the derived, licensed art is committed.