App Promo Studio
Make an app-install ad the way a motion designer would, but as code: an HTML page draws every frame (a WebGL phone, real app screens, type, light), Blender renders a photoreal opening, Python lays the sound on the page's own beats, and headless Chrome renders it frame by frame. Because everything is code, notes like "the phone feels far away", "this part feels stuck" or "add the store icons" turn into small, exact edits, re-rendered only from the beat that changed.
Example in this repo: examples/guidemeet-global/, a 29 s guide's-story ad for the GuideMeet Global app.
What an ad looks like
| Beat | Typical time | What happens |
|---|---|---|
| Opening | 0 to 3.2 s | Blender: top-down desk, phone in the centre, the screen wakes, the phone rises to the camera |
| Store | 3.2 to 8.5 s | Handover to the page at identical framing. The store opens, a dot drops onto the search bar and types the exact store name |
| Install | 8.5 to 11 s | Listing, Install, progress ring, Open |
| Launch | 11 to 13.5 s | The app's real launch animation (rebuilt from its source) |
| Onboarding | 13.5 to 17.5 s | Sign-up as the right kind of user, only with flows that are live |
| The product | 17.5 to 25 s | Content lifts out of the phone in 3D, one item is chosen, its page, three true feature lines |
| End card | 25 to 29 s | The phone turns away, the icon lands beside the wordmark, one plain line, both official store badges |
Shorter ads drop beats; they never speed the motion up to fit.
Workflow: always in this order
- Brief. Ask only what changes the ad: the app's exact store name, which stores it is on (check both listings are live and that the name is unique: an unrelated app with a similar name means using the full name), whose story it is (for example a traveller booking, or a guide getting found), aspect, length, sound (effects and music, voiceover or not). Default to 16:9, about 25 to 30 s, effects plus a generated bed, no voiceover.
- Collect the truth. Use the real product: its repo, real screenshots, real data and real copy. Check every flow you plan to show is live (a sign-in method commented out in the source is not shown). Every feature line must map to something a user can do today. Real people in the ad (profiles, reviews) need their consent.
- Storyboard. Fill
templates/storyboard.htmlwith numbered beats (time, picture, motion, words, sound), show it, and wait for approval. Notes come back by beat number. Nothing is built before a yes. - Build the page. Start from
templates/ad-starter.htmlplusscripts/stage3d.jsin the ad's own folder. All timing lives in one beat tableB; the camera is one monotone curve per axis; shots transform into each other. Seereferences/page-and-camera.mdandreferences/store-flow.md. - Opening in Blender. Export the phone's first screen from the page (
?export=launcher&scale=2), look-dev a few stills, render the shot withscripts/blender/desk.py, and the empty-desk plate. Match the handover exactly. Seereferences/blender-opening.md. - Check stills, not just the video. Render stills at every beat boundary and tile them with
scripts/sheet.py. Run the checklist below before showing anything. - Sound. Export the beats (
render.mjs events), map them to cues, build the bed, mix, normalise to -16 LUFS. Seereferences/sound.md. - Preview at 1080p, detached and resumable, then show it. For notes, re-render only from the changed beat.
- Final 4K only after approval: with sound, silent, and the sound master as a WAV. See
references/rendering.md.
Looks expensive: the rules
- One continuous camera. Never cut. Each shot becomes the next (the dot becomes the search bar, the card flies into
the phone, the icon flies out of it). Every move eases in and out, and nothing reverses direction mid-move: use the
monotone
mono()curves, one per axis for the whole ad, with hold keys around a handover. - Motion blur on everything that moves. Average 12 sub-frames across a 180 degree shutter, 28 on fast moves. Anything that changes per frame (a counter, a progress number) reads the frame's time, not the sub-frame's.
- Type that breathes. Words reveal one at a time, blurred to sharp with a small rise, and leave the same way. One idea per line, plain and true. No marketing claims the product cannot back. No em dashes in on-screen copy.
- Nothing half-seen. The phone and every card stay fully inside the frame; text never touches the phone (check the longest line at its widest moment); a headline leaves before the next block arrives in the same space.
- No dead time. Something meaningful moves at least every second. A held screen with a finished headline for two seconds reads as "stuck": pull the next beat in.
- Depth. Real thickness (stacked edge slices), a soft drop shadow, a faint sheen that slides as the phone turns, depth-of-field blur on things far from focus.
- One theme. Light or dark, held from the first frame to the last, opening included.
- Store badges exactly as issued. Official artwork only (
scripts/fetch_badges.sh), unmodified, equal height, Google's PNG padding cropped. Show only the stores the app is actually on.
Check before showing (every preview)
- The handover from Blender is invisible: same phone size and position in the last Blender frame and the first page frame
- No headline touches the phone or the cards at any moment of its life
- No gap longer than about a second where nothing moves
- The phone is fully in frame in every still
- Every screen, name and feature is true to the live app; the store name is exact
- Sound: every cue lands (mix.py reports the worst offset), master at -16 LUFS, peak at or below -1.5 dBTP
- Rendered at 1080p for previews (4K only for the approved final)
Safety on ordinary machines
Learned the hard way on a 6 GB laptop: a 4K video render ran the kernel out of memory, killed the encoder and crashed the agent's session, taking every background job with it.
render.mjsrenders 1080p unless you pass--scale 2. Previews are always 1080p.- Render to a frames folder (
framesmode: resumable, atomic writes), then encode on its own (encode, 2 threads), never Chrome and the encoder at once on a small machine. - Launch long jobs with
setsid nohup ... > log 2>&1 &and aDONE/FAILEDline, so a session restart can't kill them. - One heavy job at a time (Blender or Chrome, not both). Ask the user to stop Docker or dev servers before Blender or 4K.
- For a change late in the ad, delete only the frames from that beat on and re-run
frames: earlier frames are kept.
Files
| Path | What it is |
|---|---|
scripts/stage3d.js | WebGL2 panel stage: textured panels in 3D, perspective camera, depth-of-field, sheen, project() |
scripts/render.mjs | Headless Chrome renderer: frames, encode, video, stills, events (no npm packages) |
scripts/mix.py | Places sounds on named beats (peak, start or end aligned) and reports sync |
scripts/sfx.py | Synthesises pop, whooshes, riser and soft hit |
scripts/bed.py | Generates the music bed timed to the ad's beats |
scripts/sheet.py | Tiles stills into a labelled review sheet |
scripts/fetch_badges.sh | Downloads the official store badges |
scripts/blender/studio.py | Blender helpers: scene, GPU pick, materials, light, camera, monotone curves, resumable render |
scripts/blender/desk.py | The photoreal desk opening with the handover built in |
scripts/blender/push_synth.py | Builds the push-in frames from two renders (about half the Blender time) |
templates/storyboard.html | The storyboard page for approval |
templates/ad-starter.html | A working starting page: phone, camera, headlines, motion blur, end card with badges |
references/*.md | How each part works, with the numbers that matter |
Requirements: Node 18+ (22 recommended), ffmpeg, Google Chrome or Chromium, Python 3 with numpy, scipy and Pillow, and Blender 4.2+ for the opening (optional: the page can open on its own).
Credits
The working method (storyboard first, ads built as code, one camera, frame-by-frame checks) was inspired by Rourke's "Claude Opus 5.5: How To Make Motion Graphics" (https://youtu.be/cDb-wPq0Iyk) and his saas-animation skill. All code in this skill is original. UI sounds in the example: Kenney (CC0). Example app and people: GuideMeet Global, with permission.