All motions

An operating system, introduced

Launch film for a fictional smartphone operating system: glass numerals, devices, widgets

Created with AI
  1. 0–2.17 s Crystal glass numerals in close-up
  2. 2.17–4.2 s The phone pulls back out of the digits
  3. 4.2–8.03 s Glass waves, the digits rearrange into “10 / 20”
  4. 8.03–10.42 s Five phones from a low angle
  5. 10.42–11.83 s A music card, then the notifications slide in
  6. 11.83–16.0 s Rack focus, falling glass lenses
  7. 16.0–21.97 s The control center swipes away, the dialer underneath
  8. 21.97–24.9 s Home screen, the camera rises to the folders
  9. 24.9–27.9 s A folder grows into a grid and shrinks into a tray
  10. 27.9–31.03 s Widgets form out of glass
  11. 31.03–34.05 s Widgets fly into the phone, the smart stack cycles
  12. 34.05–35.47 s The stack lifts off and fans out
  13. 35.47–39.37 s Tablet: dock and files
  14. 39.37–40.97 s A wall of phones
  15. 40.97–41.6 s Glass dome with a violet second hand
  16. 41.6–47.2 s From the dial to the device lineup in one move
  • UI motion
  • 47.2 s · with sound
  • 1920 × 1080 · 30 fps
  • DOM + CSS 3D
  • 19.3 MB

Prompt

English · for Claude Code, Codex & co. · 1,146 words
Build a 47.2-second 16:9 launch film (1920 × 1080, 30 fps) for a fictional smartphone operating system, in the language of a big OS keynote film: crystal glass numerals, a lock screen, phones in a row, music and notifications, floating glass lenses, the control center turning into the dialer, home screen, a folder morph, widgets forming out of glass, a smart stack, a tablet with dock and files, a wall of phones, a glass clock and the device lineup. No brand name anywhere. DOM + CSS 3D on a fixed 1920 × 1080 stage, two AI clips as <video>, everything else drawn in code. Music only, no voice.

LOOK
Four color worlds for wallpapers and glass: violet/lilac, petrol/sand, copper/terracotta, sand/champagne, plus lavender. Studio white #F4F4F7 with a soft radial falloff behind the devices. Type: Geist for the UI, Archivo on its 62 % width axis, weight 300, for the glass clock digits. Glass digits are three stacked layers: an invisible spacer, a white gradient fill clipped to the glyphs, a 1.6 px white stroke with a soft drop shadow. Glass cards use backdrop-filter blur + saturate with a 1 px inner white edge. App icons are your own glyphs on gradient tiles (phone, messages, camera, mail, music, compass, map, bag, wallet, home, waveform, scan, download, brush, folder, weather, pencil, search, plus drawn calendar, clock, calculator, settings and a petal photos icon) — never real platform icons.

DEVICES
Phone 390 × 844 with a 9 px brushed titanium frame (multi-stop grey gradient, inner highlight), black bezel, 52 px screen radius, a punch-hole camera and a side button. Tablet 1180 × 820 in dark graphite. Round watch. Every screen is a real DOM layout at native size, so the camera can go to 9× without a single soft pixel.

MATERIAL
Higgsfield Soul 2: violet, petrol, copper, sand and lavender glass wallpapers (9:16), a petrol/sand glass wave and copper glass shapes (16:9), a dark aubergine wallpaper for the tablet, a frosted white glass dome (no hands — they are drawn in code), a portrait for the photo widget, a misty forest, white blossoms, sea foam and a lemon for the file thumbnails. Kling 3.0 turns two of them into 5-second clips: crystal glass numerals with moving caustics, and the flowing glass wave. The falling glass lenses are code (two stacked discs per lens for thickness, rim highlight, specular arc, depth-of-field blur), because generated lenses kept turning into coins.

STORYBOARD (cut times as in a launch film; the camera is never still at a cut)
0–2.17  Crystal numerals in macro, a cut at 0.50 to a second angle, then an accelerating pull-out.
2.17–4.20  The phone pulls back from the glass digits "1020" to the centre of a white studio, then pushes into the digits again.
4.20–8.03  Full-frame glass wave with huge glass digits that rearrange from a row into "10 / 20".
8.03–10.42  The camera rises from the top edge of a phone to a low-angle row of five phones and pans left.
10.42–11.83  One move: the music card ("Slow Tide", Mara Ilves) on a copper lock screen, tilting down to four notifications that slide in.
11.83–13.35  The whole phone small in the studio, then a rack focus into a copper blur.
13.35–16.0  Glass lenses tumble through copper space, a cut at 15.20 to a closer angle; they dissolve into the toggles of the control center.
16.0–21.97  One continuous shot on the same phone: toggles in macro, pull back to the control center while airplane mode, battery saver and Bluetooth switch on, the control center is swiped away upwards and the camera tilts into a low angle over the dialer while "5318" is typed.
21.97–24.90  Home screen in sand from a low angle, the camera rises to the folders.
24.90–27.90  Lavender: a vertical folder morphs icon by icon into a 5 × 3 grid (spring), a cut at 27.17, then the grid collapses into a horizontal tray.
27.90–31.03  Widgets form out of blurred glass shapes on a petrol ground (clock, events, a 42-day countdown), a cut at 29.83 reveals a whole constellation (month, photo, weather, world clocks, golden hour, steps, a note, the date).
31.03–34.05  The smart stack and the tools widget fly into the phone with motion blur; the stack cycles weather → countdown → day → golden hour.
34.05–35.47  The stack lifts out of the phone and fans out in 3D.
35.47–39.37  Tablet edge in the dark: a dock slides out; cut to the files app in close-up, one pull-back to the whole tablet.
39.37–40.97  A tilted wall of 18 phones panning diagonally, a jump at 39.57.
40.97–41.60  The frosted glass dome with graphite hands and a violet glass second hand.
41.60–47.2  One pull-back: the dial in macro turns out to be the clock widget on the tablet, the tablet becomes part of the lineup (two phones, tablet, small tablet, watch); fade to black.

MOTION
Hard cuts with momentum: the outgoing shot accelerates into the cut, the incoming one continues the motion and settles. Keyframes per segment with their own curves (ease-out after a cut, linear tracking, ease-in into a cut). Only three soft transitions: the rack focus into the lenses, lenses → toggles, smart stack → 3D fan. UI changes are morphs, never cross-fades: the folder interpolates every icon's position and size, the control center is swiped away, widgets resolve from blur, saturation and brightness.

RENDER
No fake whole-frame blur. Render at 120 fps and average three of every four frames into one 30 fps frame (270° shutter): only what moves gets motion blur, along its motion.

AUDIO
One continuous ElevenLabs Music track (modern electronic pop, 82.5 BPM), never cut in the middle; shifted by 0.13 s so its drop lands on the cut at 11.83 s. −14 LUFS, fade-out with the picture.

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.5 s, plus both sides of every cut at 15 fps — check that no cut jumps in scale or direction and that no text is soft at high zoom.

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 47-second launch film for a new smartphone operating system: glass numerals, lock screen, a row of phones, control center, dialer, a folder morph, widgets made of glass, a tablet and the device lineup. Hard cuts in motion, continuous camera moves, real motion blur from 120 frames per second. 16:9, with music — with a prompt to recreate it.

What I learned building it

A launch film does not come alive through soft dissolves but through hard cuts in motion: the camera is never still at a cut. And motion blur belongs in the render, not as a filter on the whole frame — otherwise the picture pumps instead of flowing.

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