Bring screenshots of one to three flows in an app (pick a product, fill it with photos, edit it) and a song; get a 10–15 s 16:9 clip where those flows play on one real screen floating over a table: pages flip and slide on it, photos fly onto their slots, a 3D cursor clicks, every click, flip and landing hits the beat, and a caption pill names each step. Local and free apart from the set (about $1 of generated images, or none if you reuse a set).
The screen itself is python-float-a-screen-in-3d; this workflow turns its shots into a
finished clip. For a narrated walkthrough of a whole product, use
workflow-website-link-to-product-walkthrough; inside a longer product promo, the same
shots slot into workflow-printed-products-promo-in-3d.
What the person brings
- The flows, in their own words: what the viewer does, step by step ("pick a mug, the photo fills in, swap it for another").
- Access to the app to capture each state, or screenshots already taken: every state the flow passes through, at 2×, the same window size, nothing private on screen (names blurred, only the photos they're happy to show).
- The song (or
elevenlabs-generate-music) and the stretch of it to use. - What the cursor must never click (a cart, a checkout, a send button).
Steps
- Write the flows as steps. One line per step: the page, what's clicked, what changes. Budget about one beat (0.44 s at 136 BPM) to a beat and a half per step, plus a flip (0.85 s). A 5.3 s flow held four clicks and one flip.
- Capture both sides of every change: the editor empty and filled, the panel closed and open, the front and the back. Photos fly from the filled page onto the empty one, so the pair must line up pixel for pixel.
- Measure every pixel the shot touches. Click targets from the page's layout × 2
or a gridded full-size page (
python-contact-sheet). Photo slots by differencing the empty and filled pages: the regions that change, larger than about 150 px a side, are the slots (one wide and two square on a card back came out at[1020, 396, 536, 272],[1020, 684, 260, 260],[1296, 684, 260, 260]). - The set. Table and room plates from
nano-banana-plates-for-a-3d-scene, chosen withguide-stage-a-3d-render; reuse a set the job already has. - The beat grid (
python-map-song-bars): the beat length and phase. Pick where in the song the clip starts, on a beat. - One spec per flow (
python-float-a-screen-in-3d; see Timing). Lint, then stills at every click, mid-flip, mid-slide and each landing, on a contact sheet. Review the stills: pages the right way round, clicks on the right buttons, only permitted photos, nothing near the forbidden buttons. - Render each flow (about 34 ms a frame on an Apple M1 Max), join them, lay the caption pills, cut the song in. Review the moving clip.
- Deliver the MP4.
Timing
- Beats in shot time:
phase + k × beat − shot start. With beat 0.4412 s and phase 0.078, a flow starting at 7.133 s in the song has beats at 0.004 + n × 0.4412. - On the beat: each click; a flip or slide 0.07–0.17 s after its click; photo landings on beats or half-beats (seven photos 0.22 s apart read as a cascade).
- Render exactly the frames you need: set
durationsoround(duration × 30)is the shot's frame count; inside a longer cut, that's the slot between its cuts. - Chaining flows: the next flow starts where the last ends. Check how far that moves
its beats:
(old start − new start) / beatshould be within a frame of a whole number (moving a card flow from 15.967 s to 12.433 s shifted it 8.010 beats, 4.4 ms off, invisible). - Nothing flies while the screen turns: a photo that began falling before a flip settled landed on a moving screen. Start it after the flip ends.
- Drop a step rather than rush it: a text edit didn't fit a 5.3 s flow and was cut, with its caption.
Captions and music
- One caption pill per step, bottom left, rising in as the step starts and fading just before the next: "Pick a mug" until the flip, "Your photos fill in" until the photo is clicked, "Swap in any photo" to the end. Over the table, captions need a solid white pill.
- Centre the text by its visual weight: halfway between the cap band's middle and the x-height band's middle, with descenders hanging into the padding and every pill the same height (1.85 × the font size). Centring the text's box left it riding high. All-caps text centres on the cap band alone.
- Music: cut in at the flow's start in the song, 0.12 s fade in, 0.7 s fade out, limiter on.
Worked example
A photo-printing app, two flows, 12.37 s at 136 BPM on an oak table with a plaid runner and a living room behind:
| Flow | Length | Beat-locked steps |
|---|---|---|
| Mug | 5.30 s, 159 frames | click "11 oz" 1.328 s → flip 1.50 s → arch photo lands 3.093 → click the photo 3.534 → "Choose another photo" 3.975 → pick from the album 4.416 |
| Card | 7.07 s, 212 frames | "Customize your own" 1.318 s → slide 1.40 → seven photos land 2.641–3.965 every half-beat → flip to the back 4.406 → three back photos land 5.729–6.170 |
Camera: open wide at 9.5 units, push to 3.7–3.9 on each click, aimed 55–60% toward it. Six caption pills. Rendered in about 13 s for both flows.


