# Launch Trailer Kit: replication prompt

Paste this into Claude Code, Cursor, Replit, Lovable or v0.

```text
Create a self-contained index.html launch trailer drawn on a 1920x1080 canvas where every frame is a pure function of time: renderAt(t). Put all copy, palette, music settings and scene cut times in one config object at the top. Scenes, separated by cuts: (1) mono kicker plus an accent rule, then a serif line revealing word by word; (2) beat drop: a white flash fading out and a heavy sans headline slamming from 1.25x scale with an italic serif accent line springing in under it; (3) six rounded glass tiles with gradient icons flying in on a 3x2 grid with outBack easing and a gentle float; (4) three big serif counters counting up with mono labels and dividers; (5) one word per two beats, previous words dimmed; (6) end card with a pulsing accent dot, title and URL, then fade to black. Background: dark base with three drifting radial glows that pulse on every beat after the drop and a static grain. Each scene slides in from the right over 0.22s. Embed a Web Audio soundtrack engine whose drop and whooshes use the same cut times. Add Play with music, Record WebM (canvas.captureStream plus a MediaStreamDestination into MediaRecorder) and a scrubber. Expose window.renderAt, window.TRAILER {length, fps} and window.exportWavBase64.
```

## Key code

```js
function renderAt(t){
  background(t);                                   // glows pulse on every beat
  const [i, lt, d] = sceneOf(t);                   // which scene, local time, scene length
  const tin = i ? outExpo(prog(lt, 0, .22)) : 1;   // whip-in transition
  x.save(); x.globalAlpha = tin; x.translate((1 - tin) * 140, 0);
  SCENES[i](lt, d, t);
  x.restore();
}
```
