One line, three inks
A showreel without a cut: a camera flight through pencil, blueprint, hologram
- Bars 1–3 (paper) MOTION, dimensioned and hatched, becomes a line, a curve with a curvature comb, a circle, triangle, square, hexagon
- Bar 4 pull-out over 271 cells, a dive into the centre, blue ink spills through the cells
- Bars 5–6 (blueprint) an exploded cube, involute gears, a flight through the tooth gap
- Bars 7–8 (hologram) the gear becomes a 3D globe with a ring, its latitudes unroll into waves
- Bars 9–10 scan lines assemble MOTION, a scan line leads back to paper
- Showreel
- 20 s Loop
- 1080² · 30 fps
- Canvas 2D
- 3.3 MB
Prompt
Build a 20-second looping motion showreel, 1080×1080: one line that never leaves the screen and gets promoted three times — graphite on paper, wire on a blueprint, light on black. Every shot is made out of the previous one. No cuts, no fades. A free camera flies through it.
INKS (the same geometry, drawn in whichever ink is on screen)
- PAPER: cream #EDE6D5 with fine static grain and a blue grid. Pencil lines: resampled and pushed off true by slow sine waves whose phase steps 8× per second, stroked twice. Fills are diagonal hatching that builds into cross-hatching; annotations (dimension lines with arrowheads, dashed construction lines, numbered callout balloons, Geist Mono lettering) in blue pencil and drawn on.
- BLUEPRINT: flat blue #1B3ED2, the grid in white, clean white lines, hidden edges dashed, centre lines dash-dot, fine hatching, a drawing border with zone letters/numbers and a title block.
- HOLOGRAM: black #07080A, the grid in cyan #45F0DD, cyan lines with a white core; 3D wireframes are depth-cued (nearer = brighter and thicker); fills are horizontal scan lines (8 px pitch) whose thickness follows the light. No blur halo anywhere.
Paper → blueprint by blue ink spilling through a honeycomb with a hard edge; blueprint → hologram and back to paper by one horizontal scan line.
CAMERA
One continuous 2D camera (zoom, pan, roll) over a single world; the grid is infinite and its levels fade in by on-screen spacing, with a parallax layer of registration marks above it. Big moves: pull out over the honeycomb, dive into its centre cell, fly ×10 into the pitch point of two meshing gears, pull back out of the tooth gap, long pull-out while the globe unrolls. 5-sample sub-frame motion blur on the fastest moves. The camera ends exactly where it started.
STRUCTURE (120 BPM = 40 beats, 10 bars of 2 s, something on every beat)
1 HOOK: the word MOTION in Geist 900, traced to outlines, cross-hatched, dimensioned and called out; a rail presses it into one line, the camera punches in on each press.
2 CURVE: pen-tool handles bend it into an S with a curvature comb; copies fan into a ribbon at different depths (parallax), travelling sine waves, back to one line.
3 MORPH: circle (length kept), triangle, square, hexagon while the table turns; circumcircle, radius value and vertex angles drawn live; hatching, then cross-hatching.
4 TILE: rings of hexagons pop out, the camera pulls out over 271 cells in four tones, then dives into the centre while blue spills cell by cell, each flooded cell becoming a cube seen corner-on.
5 SOLID: the neighbouring cubes fly past the lens; the centre cube explodes into six face plates with centre lines, balloons and a dimension, then reassembles front-on.
6 GEAR: the front face grows 16 involute teeth; 10T and 12T mesh and step 45° on every eighth note; pitch and base circles, rotation arrows, centre distance, pitch-point marker; the camera flies into the tooth gap.
7 LIGHT: a scan line turns everything to hologram; the gear tilts into 3D, extrudes, opens into a wireframe globe with a torus ring; the camera orbits.
8 WAVE: the latitudes unroll into a field of 11 waveforms in perspective, which close up into one, filled with scan lines.
9 TYPE: the waveform folds into the word's skyline; its scan lines fly out to alternate sides and come back as the letters MOTION.
10 END: a scan line sweeps back to paper; hatching, outline, annotations and rail return exactly to frame 0.
Small labels all film: "FIG. 0X — NAME", "INK · …", "CAM ×zoom angle", "BEAT nn / 40", rolling.
MOTION
Critically damped springs 1 − (1 + w·t)·e^(−w·t) for beats, exponential in/out for camera moves and wipes. Banned: particle bursts, glows, lens flares, camera shake, RGB split, crossfades, generic gradients, bouncy easing.
TECHNIQUE
- One self-contained HTML page plus one JS file (no inline script, no libraries, no network requests). Stage exactly 1080×1080 CSS px, or the size named above (1080×1920 for portrait).
- Expose window.MOTION = { duration, fps: 30, width, height, seek(t) } with the stage size in width and height. seek(t) redraws the frame for time t from scratch: no state between frames, no Math.random (seeded PRNG only), no Date, no CSS transitions, no timers.
- Loop: seek(0) and seek(duration) must look identical.
- With ?render=1 the stage sits unscaled at the top left (for frame capture). Without it, scale the stage to fit the window and loop with requestAnimationFrame.
- prefers-reduced-motion: show one representative still, no loop.
CHECK
Render stills at the listed times, look at every one, fix anything that overlaps, is cut off, aliased or unreadable, then render again. Report only when frame 0 equals the last frame.
Stills: every 1.0 s from 0 to 20, plus the frames inside each camera dive and each ink change. How to recreate it
-
Give the prompt to a coding agent
Create an empty folder and paste the prompt into Claude Code, Codex or Cursor. The agent writes one HTML page and one script — the animation then runs right in the browser.
-
Let it check the stills
The prompt makes the agent render stills and look at them itself. Only refine what you don't like in the picture: “scene 3 is too busy” works better than a new prompt.
-
Render to MP4
Because every animation can draw any frame exactly through
window.MOTION.seek(t), a small script renders it frame by frame — no stutter, no screen recording. Then ffmpeg joins the frames into a clip.
# 1 · Render every frame (Chrome, Node ≥ 22) node render.mjs http://localhost:3000/ \ frames/ frames 30 # 2 · Join the frames into an MP4 ffmpeg -framerate 30 -i frames/%05d.png \ -c:v libx264 -preset slow -crf 22 \ -pix_fmt yuv420p -movflags +faststart \ my-motion.mp4
Background
A camera flies through a single line: from the dimensioned word MOTION on paper, through a honeycomb into a blueprint of exploded cubes and gears, through a tooth gap into a hologram globe and a field of waves — and back to the word. 20 seconds without a cut, with the prompt.
What I learned building it
“No cuts, no crossfades” forces better ideas: every change needs a shape that exists in both worlds. Pencil texture and camera flights are expensive for video compression — the clip only got under 2.5 MB with a frozen stroke on the honeycomb and two-pass encoding.
Inspiration
The starting point was a prompt by @heyiamnick ((opens in a new tab)) on Skillry. You'll find the original wording there; the prompt above is my own version.
More motions
-
An agent platform, introduced UI motion 0:15 -
Agents that pick the model UI motion 0:14 -
A sentence becomes an app UI motion 0:15 -
An operating system, introduced UI motion 0:47.2 -
Your new design partner Voice-over 0:54.3 -
Ten kilometres, floating UGC ad 0:12.6 -
The journey of an order Explainer 0:34 -
Make it move Kinetic typography 0:08 -
From noise to a workflow Particles 0:14 -
The Gimli Glider Voice-over 0:19 -
Oscilloscope intro Oscilloscope 0:20 -
A keystroke in cross-section Explainer 0:20 -
A ring called Orbit UI motion 0:10 -
The bug that wants to stay Short film 0:20 -
Shin, not foot Voice-over 0:17 -
Jellyfish in a light shaft Organic loop 0:18 -
A logo that comes alive Logo reveal 0:08 -
How circles draw any shape Explainer 0:20 -
Pixel wizard Pixel art 0:16 -
The shortest war Voice-over 0:16 -
Loose mosaic wall Mosaic 0:20 -
Near fall Physics simulation 0:09 -
A Negroni, explained Explainer 0:20 -
Where the fuel money goes Voice-over 0:19.5 -
One print, nothing else Title sequence 0:20 -
Infinite zoom into the detail Infinite zoom 0:15 -
Cube stack Short film 0:07 -
A request at 22:47 Chat story 0:17 -
Claude Code in three steps Voice-over 0:17.5 -
The inbox factory Isometric loop 0:12 -
From 0 to 100 % soft Physics simulation 0:10 -
The request breaks out Physics simulation 0:15 -
The slicing machine Isometric loop 0:09 -
How backlinks work Explainer 0:20 -
A ball that grows with every bounce Physics simulation 0:10 -
One shape, fourteen states UI motion 0:14 -
What makes a home Paper cut-out 0:20 -
Words that carry Kinetic typography 0:20 -
Shard logo reveal Logo reveal 0:11