Anfrage um 22:47
Text-Story: ein Chat, der nachts einen Termin bucht
- 0–2 s 22:47, die Anfrage der Kundin geht raus, der Assistent schreibt sofort zurück
- 2–5 s eine Rückfrage, eine Antwort, dann zwei Termine als antippbare Chips
- 5–9 s Tippen auf Freitag, 14:30, die Karte „Termin gebucht“ springt ein, „Perfekt, danke!“
- 9–12 s Zeitsprung auf 08:12, die Push-Nachricht des Inhabers fällt herein
- 12–17 s Rückfahrt, „Automatisiert von Paul“, der Chat leert sich, die Kundin tippt von vorn
- Chat-Story
- 17 s Loop
- 1080² · 30 fps
- Canvas 2D
- 2,2 MB
Prompt
Build a 17-second looping "text story", 1080×1080: a chat conversation that appears message by message on a phone floating in space — the TikTok format, staged like a product film rather than a flat screen recording. All on-screen text comes from one small dictionary; ?lang=de switches to German.
STORY (short, believable lines, no invented numbers)
22:47, a customer (first name only) writes to a small joinery: her kitchen worktop has swollen up, can they fix it? The business's assistant — clearly labelled "ASSISTANT · AUTOMATED" — replies at once, asks one question (solid wood or laminated?), she answers, the assistant offers two appointment slots as tappable chips, she taps one, a calendar card "Appointment booked" arrives. She writes "Perfect, thanks!". The clock jumps to 08:12 the next morning: a push notification from the owner drops in, then his message lands in the chat. End card beside the phone: "Automated / by Paul". Then the chat clears, the clock returns to 22:47 and she starts typing her first message again — the loop is built so that frame 0 already shows her typing and her first bubble lands at 0.35 s (a TikTok hook: something is happening from the first frame).
PHONE
A plain, generic phone silhouette (no real device clone, no real messenger branding): graphite body with a rim light from the upper left, a punch-hole camera, status bar with a clock that follows the story (22:47 → 22:48 → 08:12), a header with a letter avatar, the business name and "Assistant replies instantly", and a composer at the bottom. Your own messages are typed into the composer character by character (seeded cadence, blinking caret, the send button turns kobalt) and leave as a bubble. Typing indicator: three dots in a kobalt bubble. Timestamps in Geist Mono under each bubble, "· Read" fades in on your messages when the reply starts.
Draw the phone flat into an offscreen canvas at 2× and warp it into the scene in 4 px vertical strips with a real perspective yaw (focal length ~1500), plus a roll — so it reads as tilted in space. A glass reflection band slides with the yaw.
DESIGN
Stage steel #0E1117 with a grey light behind the phone, a faint dot grid with camera parallax, a vignette to #08090C. Customer bubbles cream #F2EFE8 with ink text, assistant bubbles kobalt #2A49B8 with white text, the owner's bubble graphite #262C38. Light kobalt #7B95EE only for labels, "Read", the online dot and the end line. Geist 500–700 for the UI, Geist Mono for timestamps, labels and the caption. Behind the phone one huge outlined word per act (Geist 700, 1.6 px stroke, 17 % white, cropped by the phone): "22:47", "BOOKED", "08:12"; its letters roll up out of a mask with a stagger and stretch vertically while they move. Banned: emojis, real logos, coloured glows, particles, bouncy easing.
TIMELINE
16.0–17.0 (end of the previous round) she types her first message · 0.35 it is sent, 0.7–1.6 typing dots, reply · 2.05–3.1 her answer · 3.4–4.2 dots, the question with two slot chips · 4.95–6.05 a touch indicator (translucent circle) moves onto the second chip, presses at 5.65 with a ripple, the chip fills kobalt, her pick is sent as a bubble · 6.4–7.1 dots, the booked card: check circle springs in, the check draws, two rings leave it · 7.7–8.55 "Perfect, thanks!" · 9.35 the screen dims, the clock jumps, a divider "Today · 08:12" · 10.2–11.4 push notification drops in over the header and leaves · 11.6 the owner's message · 12.8–14.2 the camera pulls back and swings the phone left, the end card rises out of a mask · 14.25 the chat slides up and fades, everything returns to the opening pose · 16.0 she starts typing again.
CAMERA & MOTION
The camera is a sum of critically damped springs, one per keyframe (scale, focus point, yaw, roll, phone position), so it stays a pure function of time; the keys return to the start, so add each spring's unsettled remainder from the previous round (d·(spring(t + D − tᵢ) − 1)) and seek(0) equals seek(D) exactly; it pushes in on the typing dots, the chips (closest, ~1.6×), the booked card and the notification, and pulls out for the time jump. A small zoom kick on every new bubble, a bigger one on the card. Chat layout is bottom-anchored: every item's height grows on its own spring and pushes the history up; bubbles pop from their tail corner on a slightly underdamped spring and rise 46 px. Loop-safe drift on yaw, roll and height. The phone's shadow is one rounded shape with a large shadowBlur, never stacked translucent copies (those show steps).
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, 0.2, 0.5, 1, 2.4, 3.6, 5.65, 7.85, 10.6, 12, 13.6, 15, 16.4, 17 — 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
Das TikTok-Format Text-Story als Motion Graphic: Um 22:47 schreibt eine Kundin einer Werkstatt, ein automatischer Assistent antwortet sofort, schlägt zwei Termine vor, sie tippt einen an, der Termin steht. Am Morgen meldet sich der Inhaber. Ein Handy im Raum, eine Kamera, die auf jede Nachricht schiebt. 17 Sekunden, Deutsch und Englisch, mit Prompt.
Was ich dabei gelernt habe
Ein Chat, der sich Nachricht für Nachricht aufbaut, bleibt nur dann eine reine Funktion der Zeit, wenn jede Höhe auf ihrer eigenen Feder wächst und der Verlauf von unten verankert ist. Und das Handy wirkt erst gekippt, wenn es in Streifen mit echter Perspektive gezeichnet wird, nicht nur verzerrt.
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 -
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