All motions

One print, nothing else

Main titles for an invented thriller series: one fingerprint as the only motif

Created with AI
  1. 0–4 s macro shot of a ridge ending, the raking light is already on its way and reaches it exactly at the cut
  2. 4–8 s punch-out on the same ridge, red circles mark ridge endings and bifurcations, focus pulls away
  3. 8–12.5 s out of the blur into the core of the whorl, rotating push to dead centre, reticle
  4. 12.5–17.8 s the whole print, the reticle holds; LATENT gathers as powder, one streak of light, then stillness
  5. 17.8–20 s the title fades, the camera dives back into the first ridge, the light comes to meet it
  • Title sequence
  • 20 s Loop
  • 1080² · 30 fps
  • WebGL2
  • 2.1 MB

Prompt

English · for Claude Code, Codex & co. · 885 words
Build a 20-second main title sequence, 1080×1080, looping, for a thriller series that doesn't exist: LATENT. Award-level main title design: one motif carried through every shot, credits set like a film title, the title card as the climax. All names and the studio are invented; no real people, brands or streaming logos.

DESIGN
The motif is a single fingerprint, shot in macro on dark glass. It is latent: invisible until a raking light passes over it. Generate it as a procedural phase field in a fragment shader: concentric elliptical whorl, low-frequency domain warp, a double spiral at the core, and seven edge dislocations (add sign·atan(p − m)/2π to the phase) — these become the ridge endings and bifurcations a forensic examiner circles. Ridges are cos(2π·phase) with ragged edges, pressure that varies across the print and thins out at the rim, soft pores with a lit far wall (only where they are a few pixels wide), powder grain and a few crystals that glint in the light. The glass has hairline scratches and a cold sheen, visible only inside the light band. Light the relief with a low raking light (scale-invariant slope from the phase gradient); analytic depth of field (contrast falls off as exp(−2π²σ²), σ = blur × phase gradient), soft corners, slight chromatic aberration towards the edge (extrapolate the phase along its gradient for red and blue), vignette, soft tone shoulder, two-size film grain that jumps every third frame. Dust floats above the glass in Canvas 2D: sharp specks and out-of-focus discs with parallax, lit only where the light is. Palette: near-black #09090A, bone #ECE6DA, one accent red #CE3E2E used only for forensic markers. Credits on one fixed grid, lower left: role in Instrument Serif 35 px, name in Geist 500 27 px caps tracked 0.34 em, set glyph by glyph with optical pair corrections; the light falls off under each credit. Marker labels in Geist Mono 17 px on dark chips with a red edge, number semibold, text muted.

EDIT GRAMMAR
The camera only ever pushes in; every cut steps back or across. The light band never stops at a cut: one band per cut enters during the outgoing shot and leaves during the incoming one, same position, direction and speed on both sides, and the raking direction follows whichever band lights the pixel. Every new shot snaps into focus over 3–4 frames with a slight focus breath. No cut may look arbitrary.

STORYBOARD
0–4 extreme macro on one ridge ending; the band is already entering at frame 0 and reaches the ridge ending exactly at the cut; focus racks; "NORTHFOLD PICTURES / presents" · 4–8 punch-out on the same ridge ending (same angle, same place on screen, wider lens), slow push; three red circles draw on around minutiae, leaders and chips open, labels type on with a block cursor ("07 RIDGE ENDING", "12 RIDGE ENDING", "11 BIFURCATION"); "created by / ILSE MARROW"; from 7.6 the shot is pulled out of focus · 8–12.5 the next shot comes out of that blur: the core of the whorl, slow rotating push that ends dead centre, red reticle and "00 CORE · WHORL"; one card with two names, "ELIAS KORRIN / SIGNE HALVARD" · 12.5–17.8 cut to the whole print with the core in the same place and the reticle surviving the cut; the title LATENT (Instrument Serif, about 772 px wide, signed distance field at 2×) gathers as powder — first a grainy outline along the letter edges, then inwards, fine particles falling after it — then one streak of light passes over the type and "A LIMITED SERIES" opens from the middle; the title stands still for 2 s · 17.8–20 the title fades, the camera dives back into the first ridge ending (log-scale zoom with a fixed point, radial motion blur), the band is already on its way in — the last frame is the first.

MOTION
Slow drifts, nothing bounces. Credits arrive letter by letter, tracking settles by 5 % and then stands; every credit is fully readable for at least 1.6 s and no fade touches a cut. Markers draw on with exponential easing; circle and leader read as one stroke with round caps. Restraint: no glow, no particle bursts, no camera shake.

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 0.1 s from 0.5 s before to 0.5 s after 4.0, 8.0, 12.5, 17.8 and the loop point; every 0.5 s in between.

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 title sequence for a series that doesn't exist: one fingerprint told in macro shots, visible only where a raking light passes over it. Red forensic markers circle its features, the credits sit on a fixed grid, and at the end the title LATENT condenses out of the ridges. 20 seconds, with the prompt.

What I learned building it

A cut only looks intended when something runs across it: here it is the light band, which sits in the same place on both sides, and once the focus. I didn't describe that as an effect but as a rule for the whole film.

Inspiration

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

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