opus made this entire video is ONE html file
no after effects and 0 external tools
steal the prompt ↓
<inputs>
Ask me for: 4 photos (a mountain valley at sunrise, a top-down drone shot of a roundabout, a latte being poured from above, the sun over the sea at golden hour), one accent color (mine is violet #A898FF), and a royalty-free song around 118 BPM with a drop (e.g. Pixabay, free for commercial use).
</inputs>
<direction>
Apple-level motion. One object, never cut: every state is born out of the one before it, a knob opens like a lens into a photo, a card shrinks into the sun, a row in a list grows into a full photo. Night #0A0A0C to day #F2F0EB and back, ink #0E0E10 UI, real photos for the big moments, frosted liquid glass for small panels, one clean font (Geist, Geist Mono for times). Every morph uses one curve, cubic-bezier(.45,0,.15,1), springs only for pop-ins. Text rises through a mask, never fades. The camera zooms so each state fills about 60% of the frame and creeps in through every hold. The last frame is the first frame, so it loops.
Banned: crossfades, cuts, grey mush between colors, clip-art icons, glows, bouncy easing, dead time, anything that looks like a template.
</direction>
<structure>
118 BPM, 47 beats, the drop lands on the first release.
6:30 alarm pill → slide to stop, the sunrise shows through behind the knob → release on the drop, the knob irises into the sunrise card → a glass droplet rises into a weather panel, 14° counts to 18° → the card shrinks into the sun → the sun floods the screen into day → its core becomes a violet location dot → an aerial map unfolds around it → the route draws, the dot drives, "8 min" counts to "Arrived", it bounces on the pin → the pin irises into a latte photo → "Pay $4.20" grows out of the card → tap → loader → check → the card folds into the check → the check stretches into a Focus toggle → it opens into today's schedule, a line sweeps 9:00 to 18:00 → the 18:00 row grows into a sunset → the card closes on the sun, the sun turns into the moon → night floods back → the moon becomes the 6:30 pill.
</structure>
<build>
1. One HTML canvas, square 1440x1440. Every frame is computed from time inside seek(t): no CSS transitions, no timers, no state carried between frames.
2. One shape grammar: pill 640x120 → card 620x780 radius 64 → circle 240 → map 760 square → portrait 560x780 → check 96 → pill 560x130 → schedule 620x520 → card 620x780 → moon 200 → pill 300x96.
3. Reveals are circular clips: the photo is drawn at its final position inside a circle that grows from the exact point it is born from. Floods grow by the square root of progress so the area changes evenly.
4. Liquid glass: blur a copy of the frame under the panel, magnify its inner edge 1.08x, add a white tint, a top highlight and a 2px white rim.
5. Camera zoom per state: 2.3 alarm, 1.2 cards, 2.5 sun and moon, 1.18 map, 2.1 check, 1.7 toggle, 1.35 schedule, gliding on the same curve.
6. Analyze the song with numpy for the beat grid and land the drop on the release. Every event gets its own real sound, placed by its measured peak.
7. Render with Playwright: 8 subframes per frame, blended for motion blur at 60fps. Render a sheet of stills first and fix anything cramped or cheap looking.
</build>
<gotchas>
A photo that irises open must already sit where it will end up, or it slides when the clip finishes. Text inside a growing card needs its own timing or it vanishes before anyone reads it. Never let the card underneath peek out around a growing photo. Make the last frame identical to the first or the loop stutters.
</gotchas>
<start>
Ask me for the inputs, then show me the state list on the beat grid before you write any code.
</start>