Von 0 auf 100 % weich
Weichkörper-Simulation im Hochformat, Volumen bleibt erhalten
- 0–1,7 s Der Kolben schlägt auf den festen Würfel, prallt ab, und der Betonblock wackelt
- 1,7–3,55 s Bei 25 % wird der Würfel gestaucht, beult seitlich aus und wackelt nach
- 3,55–5,45 s Bei 50 % drückt er sich bis zum Ausgang der Matrize und federt zurück
- 5,45–7,45 s Bei 75 % hängt ein Strang mit Sternprofil unter dem Block und schnellt wieder hoch
- 7,45–10 s Bei 100 % fließt alles durch und legt sich in Schlaufen, dann zieht sich der Strang zurück zum festen Würfel
- Physik-Simulation
- 10 s Loop
- 1080 × 1920 · 30 fps
- Canvas 2D
- 513 KB
Prompt
Build a 10-second seamless loop in portrait 9:16 — stage 1080×1920 CSS px — in the "0 % soft → 100 % soft" format: the same glossy jelly cube is pressed five times by a steel piston into a star-shaped die in a cut-away concrete block, each time softer, under a huge readout "NN% soft".
DESIGN
Warm light-grey studio (wall #EEEAE3 fading into a floor #D6D0C6, grey key light from the top left, no colour in the light). A graphite press frame (two columns, a cross beam with bolts and a gland collar), a chrome rod and a steel head 360 px wide. Under it a concrete block on two legs, cut away at the centre plane: cut face with seeded aggregate stones, pores and grain; behind the cut a dark funnel (half width 100 → 34 over 70 px) leading into a steel-lined throat and a steel exit collar. The jelly is a vivid orange (#FF5A24) clamped superellipse: flat contact where it touches the block or the piston, lit top, deeper bottom, darker right flank, light glowing through near the bottom (stronger when softer), a specular band that follows the upper-left curve offset inwards along the normal, a hot spot on the shoulder, a faint sheen on the right flank, a soft contact shadow and the piston's shadow when it comes close. The strand below the die has a star profile: ridges and grooves run along it, sheen and shade follow the light direction continuously around turns. Readout: Archivo 800 semi-expanded 214 px digits in fixed cells (tabular), a smaller "%" on the cap line, the word in Instrument Serif 166 px in orange, centred over the press, below the top 10 %. Everything important stays out of the top 10 %, bottom 22 % and right 12 %.
STORYBOARD
0–1.7 0 %: frame 0 already shows the piston falling; it hits the solid cube at 0.1 s, bounces back twice, the block hops and tips with a damped motion; the readout rolls to 25.
1.7–3.55 25 %: wind-up, strike, squash and bulge, a small sag into the funnel, rebound taller than rest, damped wobble; rolls to 50.
3.55–5.45 50 %: deeper squash, the tip just pokes out under the die, springs back; longer wobble; rolls to 75.
5.45–7.45 75 %: the jelly bulges past the piston, a strand hangs 150 px out of the die and sways, then zips back; rolls to 100.
7.45–10 100 %: the piston pushes down to the block; the jelly flows through, falls as a star strand and coils on the floor in layers, a thin film is left under the piston. From 9.08 the strand zips back up, the cube regrows on top while the readout rolls forward from 100 to 0, and the piston is already falling again into frame 0.
MOTION
The body's area is conserved every frame: what has flowed into the die (funnel, throat, hanging strand, coil) is taken from the blob, and its width is solved from the area at the current height. Squash lowers the superellipse exponent (rounder flanks), stretch raises it. Release wobble is a damped cosine on the height plus a little sideways shear, lower and longer the softer the jelly. Past a width cap the jelly is pushed into the die instead of spreading further. The piston accelerates until contact and is then braked by the body; nothing eases with overshoot except the jelly itself. The readout rolls each digit inside a mask with a short stagger and re-centres as the digit count changes. All wobble is gated off before the loop point, so seek(0) and seek(10) are identical. ?lang=de|en switches the word.
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 s from 0 to 10, plus every 0.1 s across 1.4–2.1, 3.2–3.9, 5.1–5.8, 7.1–7.8 and 9.5–10/0–0.6, and 2× crops of the die exit and the coil. 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 glänzender Gelee-Würfel wird fünfmal von einem Stahlkolben in eine Sternmatrize gedrückt, jedes Mal weicher: Bei 0 % prallt er ab, bei 100 % fließt er als Strang hindurch und legt sich in Schlaufen. 10 Sekunden, 9:16, nahtlose Schleife, als Code gebaut — mit Prompt zum Nachbauen.
Was ich dabei gelernt habe
Weich wirkt ein Körper erst, wenn er nichts verliert: Was in die Matrize fließt, fehlt oben, und die Breite ergibt sich jedes Bild neu aus der Fläche. Und der Rhythmus trägt auch ohne Ton, wenn der harte Aufprall kurz ist und das Nachschwingen mit jeder Stufe länger wird.
Inspiration
Vorbild war ein Video von @renderx20 ((ö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 -
Fast gefallen Physik-Simulation 0:09 -
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 -
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