Bring the print files of a few products (5×7 cards, 11 oz mugs), screenshots of the app they're made in, a logo and a song; get a ~30 s 16:9 promo where every print is the real file on every frame. Cards and mugs rain onto a holiday table on the beat, each product turns in a close-up, the app walkthroughs play on one screen floating over the table, captions sit on white pills, and the finale dissolves into a festive end card. The 3D renders are local and free; the only spend is the generated set, about $2.50.
For one product shot on its own, load python-render-printed-products-in-3d directly.
For a narrated walkthrough of an app, use workflow-website-link-to-product-walkthrough.
What the person brings
- Print files: card fronts at 5:7, the hero card's real back, a plain back with a small brand mark, mug wraps (~2.4:1). A dozen or so of each kind fill the rain.
- App screens for each flow, at 2× and all the same size, both sides of every change
(the empty and the filled editor), so photos can fly from one to the other
(
guide-pull-product-highlightscovers capturing). - The song (or make one:
elevenlabs-generate-music), and the logo and URL for the end. - What must and mustn't appear: which photos or albums, anything to blur, anything the walkthrough must not click (a cart, a checkout).
The shape
Six shots, cut on the song's beats. The example ran 30.57 s at 136 BPM:
| Shot | Length | What happens | Leaf |
|---|---|---|---|
| Rain, opening | 7.13 s | A few cards drift down, then a burst lands on the drop; hero card and mug last | python-render-printed-products-in-3d (rain.py open) |
| Walkthrough 1 | 5.30 s | Pick the product, flip to the editor, a photo flies in, swap it | python-float-a-screen-in-3d |
| Hero product 1 | 3.53 s | The mug turns until its design faces the camera | hero.py mug |
| Walkthrough 2 | 7.07 s | Pick a design, slide to the editor, photos fly in, flip to the back | python-float-a-screen-in-3d |
| Hero product 2 | 3.53 s | The card flips front to back | hero.py card |
| Rain, finale | 4.00 s | Everything lands again; defocus into the end card | rain.py finale |
Over it: a headline on a pill for the opening, a caption chip per step of each walkthrough and per hero shot, and the end card.
Steps
Lock the cheap decisions before the expensive ones, and show each one moving.
- Brief and the beat grid. Agree the products, flows, wording and length. Map the
song's beat and phase (
python-map-song-bars). Every landing, click, flip and cut goes on that grid. - The set. Choose plain floor, tabletop, or tabletop and room
(
guide-stage-a-3d-render); generate three of each plate (nano-banana-plates-for-a-3d-scene, ~$0.17 each, say the price first). Review: the person chooses from short moving previews of the rain shot on each table, then the hero shots on each room. Stills misled: the person picked white linen from stills and switched to oak with a plaid runner once both moved ("they should fall on something"). - Rain and hero shots (
python-render-printed-products-in-3d, ~10 s a shot). Run--check, then stills, then the shots. - Walkthroughs (
python-float-a-screen-in-3d), one spec per walkthrough slot (see below). Lint, stills at every click, mid-flip and each landing, then render. Review the stills, then the moving shot. - Assemble. Join the shots frame-exact, composite the headline, chips and end card, mux the music (see below). Review the whole cut against the previous one.
- Deliver to a fresh folder per round; earlier rounds stay untouched.
Fitting a walkthrough into its slot
- Render exactly the slot's frames. The slot runs from one cut to the next: 5.30 s
is 159 frames, 7.0667 s is 212. Set
durationsoround(duration × 30)equals that, and every later cut and music hit stays where it was. - Beats in shot time:
phase + k × beat − slot start. With beat 0.4412 s and phase 0.078, a slot starting at 7.133 s has beats at 0.004 + n × 0.4412; one starting at 15.967 s at 0.435 + n × 0.4412. Put clicks on beats, a flip or slide just after its click (0.07–0.17 s), and photo landings on beats or half-beats. - Nothing flies while the screen turns. A photo that started falling before a flip had settled landed on a moving screen; start its flight after the flip ends.
- Drop a step rather than rush it. At 0.44 s a step, a text edit didn't fit the 5.3 s mug slot; it was cut, and so was its caption.
- The person preferred one screen with its pages changing over a gallery of screens, and the camera pushed in to 3.7–3.9 units on each click.
Assembly
-
Captions are composited here. The floating-screen shots carry none of their own, so lay one chip per walkthrough step, timed to its clicks (
Pick a muguntil the flip,Your photos fill inuntil the photo click,Swap in any phototo the end). For hn4a-compositor titles, seehn4a-compositor-brand-ad-titles. -
Over the busy table every line needs a solid white pill: the headline as bare dark type with a glow didn't read over the plaid, and the person asked for a pill.
-
Centre pill text by its visual weight, not its box. Centring on the text's bounding box (descenders included) left the letters riding high: "the baseline is maybe in the middle… the visual weight is not middle-centered". What fixed it: centre the point halfway between the cap band's middle and the x-height band's middle on the pill's centre line, let descenders hang into the padding, and give every pill of a size the same height (1.85 × the font size):
_, cap_t, _, base = font.getbbox('H'); x_t = font.getbbox('x')[1] y = pill_top + pill_h / 2 - ((cap_t + base) / 2 + (x_t + base) / 2) / 2 # draw the text at yCheck it by measurement: the centre of the text's dark pixels was within 1 px of the pill's centre on 46 px chips, and 3 px on an 84 px headline.
-
End card: the timing that avoided ghosting is in
guide-stage-a-3d-render(Ending on an end card). -
Music: trim to the cut, fade the last 0.8 s, limit the peaks; the example came out at −14.7 LUFS integrated, −1.4 dBTP. Encode H.264
yuv420pwith+faststart.
Decisions the person makes
The products and flows shown, the set (from moving previews), the room behind the hero shots, the end-card backdrop, the headline's wording, and each round's cut. Write each pick in the job's notes as it lands.
Worked example
A photo-printing app's holiday cards-and-mugs launch, 30.57 s at 136 BPM (beat 0.4412 s, phase 0.078), cuts at 7.133, 12.433, 15.967, 23.033 and 26.567 s. Three rounds:
- Round 1: plain white studio floor, flat walkthrough screens with camera zooms.
- Round 2: oak table with a red plaid runner (picked from moving previews over white linen), a living-room plate behind the hero shots with a hard table edge, a warm bokeh end card, and a headline on a pill reading "Your photos, now on cards & mugs!".
- Round 3: both walkthroughs on the floating screen, beat-locked; captions re-laid in assembly; every pill re-centred by visual weight.
14 plates cost about $2.50; every render was local and free (rain ~10–18 s a shot, heroes ~7 s, walkthroughs ~34 ms a frame on an Apple M1 Max).


