Alle Motions

Endloszoom ins Detail

Infinite Zoom: vom Schreibtisch bis in einen einzigen Punkt im Code

Created with AI
  1. 0–2,5 s Schreibtisch von oben, die Kamera taucht in den Bildschirm des Laptops
  2. 2,5–5 s Kontaktformular, der Mauszeiger klickt auf „Send request“, es geht in den Button
  3. 5–7,5 s im runden Abzeichen des Buttons steckt der Ablauf: Formular, Prüfung, Kalender, Antwort
  4. 7,5–12,5 s die Prüfung öffnet sich als Code, die Ausführung hält am Haltepunkt in Zeile 8 — hinein in den Punkt
  5. 12,5–15 s im Punkt das PM-Zeichen, im Knoten wieder der Schreibtisch vom Anfang
  • Endloszoom
  • 15 s Loop
  • 1080² · 30 fps
  • Canvas 2D
  • 2 MB

Prompt

Englisch · für Claude Code, Codex & Co. · 844 Wörter
Build a 15-second looping infinite zoom, 1080×1080: one unbroken dive, scene inside scene, from a desk down to a single dot in a line of code, and inside that dot the desk again. No cuts, no fades, no crossfades: every scene is literally contained in the one before it (Droste), so the last frame is the first.

SCENES (each drawn in its own 1080 × 1080 coordinate system; the next scene sits in a square at point P with factor F)
1 DESK, steel #151A23, flat lay seen from straight above: a laptop opened flat (aluminium lid, dark bezel, keyboard, trackpad), a notebook with a handwritten to-do list in Instrument Serif ending in a kobalt "→ automate it", a kobalt pen, a kobalt-light sticky note "reply < 1 day", a mug of coffee, a phone with a "New request" notification, a cable. Flat hard shadows, no blur, all cast in the same direction. The laptop screen shows the website → F 6.
2 WEBSITE, cool white #F4F6FA: nav with the PM mark and "Paul", a headline "Tell me what eats your time.", three facts, a contact form card (name, email, message filled in, privacy checkbox ticked). A cursor glides in on an arc and clicks the small send button; the status beside it turns to a spinner "Sending…", then "Sent ✓", the tick drawing itself on; the cursor leaves. The button → F 8.
3 BUTTON, white: a huge kobalt #18318A pill "Send request" (Geist 600), a ripple runs out from the click point. On its right a round badge in graublau #E7EBF2 → F 9.
4 WORKFLOW, graublau with a dot grid: four dark graphite cards — Form → Check → Calendar and Reply — joined by rounded elbow lines with arrowheads and kobalt pulses; mono labels "01 FORM" …; white chips pop in under them ("Lena Hart", "running…", "Thu · 10:00", "queued"); a dashed kobalt ring marches around Check. The Check card → F 8.
5 CODE, graphite #16181D: an editor tab "check.ts", line numbers, twelve lines of Geist Mono with quiet syntax colours (keywords kobalt-light, strings cream, calls white, comments grey). An execution highlight steps down the lines and stops on line 8, a chip says "paused · line 8". In the gutter of that line: a cream breakpoint dot → F 30.
6 INSIDE THE DOT, cream #F2EFE8: the PM mark in steel, huge; its knot is a steel disc with a kobalt ring, "Paul" and "AUTOMATION & AI" below. The knot holds scene 1 → F 22. Total zoom ≈ ×2 280 000.
Each portal (screen, button area, badge, card, dot, knot) is filled with exactly the background colour of the scene it holds, and the child square sits inside it with a margin, so the seam is invisible at every scale.

CAMERA
Log-linear zoom, 2.5 s per scene. Within a scene, log-zoom = lnF · p(τ) with p(τ) = βτ + (1 − β)(τ − sin 2πτ / 2π) and β = 0.5 · 2.5 / lnF: the zoom rate is the same slow value at every scene boundary — a breath while each new scene fills the frame — and faster in between. The target P slides to the centre on a smoothstep of p, so every boundary is a pure zoom about the centre. Draw only three scenes at a time (current, child, grandchild), each clipped to its square; never transform deeper than ×F.

HUD
Thin corner brackets lock onto the next portal while it is small and fade as it grows. One dark chip bottom left (Geist Mono): "INFINITE ZOOM", the running zoom factor with thin-space digit groups (×1 … ×2 280 960), "05 / 06  CODE", and six progress segments.

MOTION
Motion blur: average whole-frame samples over a 0.4-frame shutter, at least 16, one per ~2 px of radial smear — the zoom turns that into a radial streak on its own. Pulses on a 1.25 s period, everything else keyed to the scene timings, so the loop closes. Banned: lens flares, glows, particles, camera shake, rotation tricks.

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: 0, 1.25, 2.5, 3.4, 5, 6.25, 7.5, 8.8, 10, 11.25, 12.5, 13.75, 15.

So bauen Sie es nach

  1. Prompt in einen Coding-Agenten geben

    Einen leeren Ordner anlegen, den Prompt in Claude Code, Codex oder Cursor einfügen. Der Agent schreibt eine HTML-Seite und ein Script — die Animation läuft danach direkt im Browser.

  2. Standbilder prüfen lassen

    Der Prompt verlangt, dass der Agent Standbilder rendert und selbst ansieht. Schärfen Sie nur nach, was Ihnen am Bild nicht gefällt: „Szene 3 ist zu voll“ wirkt besser als ein neuer Prompt.

  3. Zu MP4 rendern

    Weil jede Animation über window.MOTION.seek(t) jedes Bild exakt zeichnen kann, rendert ein kleines Script sie Bild für Bild — ohne Ruckler, ohne Bildschirmaufnahme. Danach setzt ffmpeg die Bilder zum Clip zusammen.

Befehle zum Rendern render.mjs herunterladen
# 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

So entsteht ein Clip mit Claude Code

Hintergrund

Eine Fahrt ohne Schnitt: vom Schreibtisch in den Laptop, in den Absende-Button, in den Ablauf dahinter, in den Code eines Schritts, in einen einzigen Punkt — und darin steht wieder derselbe Schreibtisch. Zoomfaktor über zwei Millionen, 15 Sekunden, als Code gebaut, mit Prompt.

Was ich dabei gelernt habe

Die Naht verschwindet nur, wenn jedes Portal genau die Grundfarbe der Szene hat, die es enthält. Und ich zeichne nie mehr als drei Ebenen gleichzeitig — tiefer verliert die Grafik ihre Genauigkeit.

Weitere Motions

Kontakt

Lassen Sie uns
Ihr Projekt
besprechen.

Schreiben Sie mir eine Nachricht oder füllen Sie das Kontaktformular aus. Ich melde mich innerhalb von 24 Stunden.

Paul Mill

Paul Mill

hallo@paulmill.com