All motions

How backlinks work

Data film: links as comets, quality over quantity, #48 to #3

Created with AI
  1. 0–2.1 s Nobody links to the page — the web pulses, nothing arrives, #48
  2. The camera dives in three links, comets fill the authority ring to 24
  3. 5.3–10.4 s A news site brings +30, twelve spam sites fizzle, nofollow bounces off
  4. 10.4–13.6 s The anchor text rides the link and becomes the page's topic
  5. The card becomes a search result overtaking from #48 to #3
  • Explainer
  • 20 s Loop
  • 1080² · 30 fps
  • Canvas 2D
  • 2.3 MB

Prompt

English · for Claude Code, Codex & co. · 824 words
Build a 20-second looping explainer, 1080×1080, that shows how backlinks work for SEO — as a premium data-viz film, not a diagram. All on-screen text comes from one small dictionary; ?lang=de switches to German (short labels, max ~6 words, readable at phone size).

WORLD (2.5D)
Sites live on a tilted plane seen through a perspective camera: a dot lattice, thin orbit rings, ~230 ghost sites linking among themselves with faint cream pulses. Your page is a card floating above the plane on a thin stem (placeholder domain, an authority ring at 6, rank pill "#48", "page 5"). Depth of field: sites near the card's depth are crisp rings, nearer and farther ones become soft bokeh. A soft kobalt light pool on the plane under the card grows with authority. Top right a big authority ticker (Geist 700), bottom a caption (step number + idea) over a 5-part progress bar and a dark scrim.

CAMERA
01 high and wide over the web, slow orbit → 02 dives low toward the card → 03 pans to the news site, a hard punch-in on the +30, sweeps right to the spam swarm, then left to nofollow → 04 settles low for the forum → 05 pulls back and up while the web fades away, then returns to the opening shot so frame 0 = last frame.

NARRATIVE
01 "Nobody links to your page" — the web is busy, nothing reaches you.
02 "Every link is a vote" — three sites switch on with a ripple on the plane, links draw on as glowing 3D arcs, comets with tapered trails fly in (3 × +2 each, "+6" at each source); every impact flashes the ring and the card edge and sends out a shockwave; 6 → 24.
03 "Quality beats quantity" — a large news site (91) with a thick link and 10 dense comets: camera punch-in, a huge "+30" pops above the card. Then 12 spam sites as a dull grey hovering swarm, hair-thin links, pulses that shrink to a speck and shed grey sparks (+1 together). A dashed nofollow link: one kobalt pulse runs into a cream gate and splashes out (+0). 55.
04 "Anchor text adds context" — a trades forum links in; its anchor text ("SEO for tradespeople") rides the arc in perspective and docks on the card as its topic (+14 → 69).
05 "Authority lifts your ranking" — the card morphs into a search result row, the topic flies up and becomes the query, five competitor rows cascade in (88, 81, 66, 61, 55). Your row jumps #48 → #6 ("page 5" → "page 1"), then overtakes #5, #4, #3 one by one: it lifts and swerves sideways while the passed row sinks back and dims. On #3 the list zooms in slightly, your row border glows and a giant outlined "#3" slams in over the rows it beat. Then everything folds back into the card at #48 / 6.
The numbers must add up: 6 + 18 + 30 + 1 + 0 + 14 = 69. Never name real sites; describe sources ("News site", "Trades forum"), competitors are grey placeholder lines.

DESIGN
Steel #0E1117 → #08090C with a soft grey vignette, cards #1A1E27 with hairlines, cream #F2EFE8 text. Exactly one accent, kobalt #7B95EE (light #A0B4F6), and it always means authority: links, comets, ring, ticker, +N, light pool. Soft additive glow only on comet heads, impacts and the pool — crisp, never foggy. Spam and nofollow stay grey/cream because they pass nothing. Geist (700–800 for big numbers), Geist Mono for domains and ranks. Only the current idea carries labels; earlier groups dim.

MOTION
Critically damped springs normalised to land exactly on 1, camera moves as summed spring keyframes plus a slow loop-safe drift; comets at constant world speed, arrival times computed from the 3D arc length so the ticker and the impacts stay in sync. Batch the many small marks into a few paths so a frame stays well under 20 ms.

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.5 s, in both languages.

How to recreate it

  1. 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.

  2. 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.

  3. 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.

Render commands Download render.mjs
# 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

How a clip is built with Claude Code

Background

A data film in five steps: a camera flies through a web of sites, links fire authority into the page as comets, one news site beats twelve spam sites, nofollow bounces off, the anchor text becomes the search query — and the page overtakes its way from #48 to #3. 20 seconds, English and German, with the prompt.

What I learned building it

A one-liner produces a good result when the numbers add up: 6 + 18 + 30 + 1 + 0 + 14 = 69, just enough for #3. The simplification still has to be named — real rankings depend on more than links.

Inspiration

The starting point was a prompt by @stewchan2 ((opens in a new tab)) on Skillry. You'll find the original wording there; the prompt above is my own version.

In depth in the blog article

More motions

Contact

Let's discuss
your project
together.

Send me a message or fill out the contact form. I'll get back to you within 24 hours.

Paul Mill

Paul Mill

hallo@paulmill.com