Fast gefallen
Physik-Simulation im Hochformat: ein Holzturm am Kipppunkt
- 0–0,72 s Eine unsichtbare Hand schiebt einen Klotz seitlich an, er klemmt, der Turm zittert, der Klotz geht zurück
- 0,72–2,64 s Ein Klotz aus der Mitte kommt in Rucken heraus, der Turm zuckt, der Klotz wird oben aufgelegt
- 2,64–5,12 s Der Turm schaukelt immer weiter, der Klotz oben rutscht bis an die Kante
- 5,12–5,72 s Stille bei 9,8 Grad, der Klotz hängt auf der letzten Ecke
- 5,72–9 s Der Turm fällt zurück, federt nach, und der Klotz wird wieder in sein Loch geschoben
- Physik-Simulation
- 9 s Loop
- 1080 × 1920 · 30 fps
- Canvas 2D
- 1 MB
Prompt
Build a 9-second looping "near fall" clip in portrait 9:16 — stage 1080×1920 CSS px — a tall tower of wooden blocks that almost tips over, filmed slightly from below. Real 3D boxes drawn with Canvas 2D, no engine, every frame a pure function of t.
DESIGN
18 layers of three blocks (1 × 0.6 × 3 units, gap 0.04), alternating direction, six blocks already missing in stable spots. Pale beech, each block its own shade (hue 31–37°, a few darker ones), tiny jitter in position and yaw. Generated wood textures: long grain (warped stripes, fine pores, never finer than 3 px per period) and end grain (arcs of rings around a nearby pith), mapped through each face's projected corners and clipped to it, overlay blend. One key light from the upper left: Lambert shading with a warm fill, occlusion by casting five rays per face toward the light, contact darkening at the bottom of resting faces, a lit edge where two lit faces meet, a fine dark seam on the silhouette, the moving block's shadow projected onto the faces below it, the tower's shadow on the table. Boxes are ordered by separating planes (face normals of both boxes, camera side decides), then topologically sorted. Warm dark studio #17130F, the table meeting the wall in a soft line, three loose blocks on the table out of focus (depth of field, rendered at half size and blurred). Hook line in Instrument Serif 104 px, cream, at y ≈ 338: "Don't breathe." / "Nicht atmen." (?lang=de|en). A small tilt readout in Geist Mono at the bottom left above the social zone: TILT, the angle with tabular digits, a thin gauge to the tipping point (10.1°), turning signal red #E8563A near the limit. Keep the top 10 %, bottom 22 % and right 12 % free of anything important.
STORYBOARD
0–0.72 An invisible hand nudges the front block of layer 7 sideways in two pushes; it sticks, the tower shivers three times, the block goes back.
0.72–2.64 The left block of layer 8 is pulled out toward the camera in jerks (with a tiny push-in before the first); when it clears, the upper tower dips 0.4°. It is carried up outside the tower on the right and laid on top, crosswise.
2.64–5.12 The upper part (everything above layer 8) rocks on the edge of the middle block: each rock is a lift-off and a return onto the broad right support, peaks 1.1°, 2.3°, 4.2°, 6.9°, then 9.8°, and each rock lasts longer than the last, as real rocking does near the tipping angle. The block on top slides left in two stick-slip steps, to 44 % over the edge. The camera pushes in and arcs a few degrees.
5.12–5.72 Stillness: the tower hangs at 9.8°, the camera stops dead, nothing moves.
5.72–9 The tower falls back (ease-in), lands, bounces 0.85° and 0.27°, the whole tower nods once onto its right base edge. The block is lifted off, carried down on the left outside the tower and pushed back into its hole in two shoves; the camera eases back to frame 0, the hook line rises again at 8.45 s.
MOTION
Smoothest-step camera push from 0 to the hold and back from the hold to 9 s, so it stops exactly when the tower does. Stick-slip jerks on cubic ease-in-out, sine-shaped rocks with sharp impacts, nothing springy in the UI. Motion blur by averaging five whole-frame samples across half a frame only while things fly or fall; text and readout are drawn once on top, never blurred. The loop is real: the block ends where it started, so seek(0) and seek(9) are byte-identical, and the hold frames are pixel-identical.
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 across 0–1.2, 2.2–3.1, 4.7–7.0 and 7.8–9.0, plus 7.1–7.7 for the way down — in both languages. So bauen Sie es nach
-
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.
-
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.
-
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.
# 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
Hintergrund
Ein Turm aus Holzklötzen, von leicht unten gefilmt: Eine unsichtbare Hand zieht einen Klotz heraus und legt ihn oben auf, der Turm schaukelt immer weiter, der Klotz rutscht bis an die Kante, und am Kipppunkt steht alles still. 9 Sekunden, 9:16, echte 3D-Klötze als Code — mit Prompt zum Nachbauen.
Was ich dabei gelernt habe
Die Stille am Kipppunkt muss ich nicht inszenieren, sie ist Physik: Je näher ein schaukelnder Turm dem Kippwinkel kommt, desto länger dauert jedes Schaukeln, bis er fast stehen bleibt. Und Klötze, die oben landen, schließen keinen Loop. Ein Turm mit einem Loch mehr ist nie wieder Bild 0, also schiebe ich den Klotz zurück.
Inspiration
Vorbild war ein Video von @marblemannequin ((öffnet in neuem Tab)) auf TikTok. Gebaut habe ich eine eigene Fassung des Formats, nicht das Video selbst; der Prompt oben beschreibt genau diese Fassung.
Weitere Motions
-
Eine Agenten-Plattform, vorgestellt UI-Motion 0:15 -
Agenten, die das Modell wählen UI-Motion 0:14 -
Ein Satz wird App UI-Motion 0:15 -
Ein Betriebssystem, vorgestellt UI-Motion 0:47.2 -
Ihr neuer Design-Partner Mit Sprecher 0:54.3 -
Zehn Kilometer, schwebend UGC-Ad 0:12.6 -
Der Weg einer Bestellung Erklärclip 0:34 -
Mach es lebendig Kinetic Typography 0:08 -
Aus Rauschen wird ein Ablauf Partikel 0:14 -
Der Gimli Glider Mit Sprecher 0:19 -
Oszilloskop-Intro Oszilloskop 0:20 -
Ein Tastendruck im Querschnitt Erklärclip 0:20 -
Ein Ring namens Orbit UI-Motion 0:10 -
Der Bug, der bleiben will Kurzfilm 0:20 -
Schienbein, nicht Fuß Mit Sprecher 0:17 -
Quallen im Lichtschacht Organischer Loop 0:18 -
Ein Logo, das lebt Logo-Reveal 0:08 -
Wie aus Kreisen jede Form wird Erklärclip 0:20 -
Pixel-Zauberer Pixel-Art 0:16 -
Der kürzeste Krieg Mit Sprecher 0:16 -
Lose Mosaikwand Mosaik 0:20 -
Negroni als Erklärclip Erklärclip 0:20 -
Wohin das Tankgeld geht Mit Sprecher 0:19.5 -
Ein Abdruck, sonst nichts Vorspann 0:20 -
Endloszoom ins Detail Endloszoom 0:15 -
Würfelturm Kurzfilm 0:07 -
Anfrage um 22:47 Chat-Story 0:17 -
Claude Code in drei Schritten Mit Sprecher 0:17.5 -
Die Posteingangs-Fabrik Isometrischer Loop 0:12 -
Von 0 auf 100 % weich Physik-Simulation 0:10 -
Eine Linie, drei Tinten Showreel 0:20 -
Die Anfrage bricht aus Physik-Simulation 0:15 -
Die Schneidemaschine Isometrischer Loop 0:09 -
Wie Backlinks wirken Erklärclip 0:20 -
Ein Ball, der mit jedem Aufprall wächst Physik-Simulation 0:10 -
Eine Form, vierzehn Zustände UI-Motion 0:14 -
Was ein Zuhause ausmacht Scherenschnitt 0:20 -
Wörter, die tragen Kinetic Typography 0:20 -
Logo-Reveal aus Splittern Logo-Reveal 0:11