UI Motion Design Workflow Guide
By @yankis0x. Made with Claude Opus 5.5. Watch the original post.
Remake prompt (written by Lumpong Automated)
First ask me for a royalty-free music track at around 120 BPM. Make a 14-second square (1440x1440) UI motion design video at 60fps: one HTML file, rendered with Playwright and blended with ffmpeg. One rule: every frame is a pure function of time. Compute every style inside a seek(t) function. No CSS transitions, no timers. Write springs as closed-form math, so any frame renders in any order. Content: 8 to 12 UI states that morph into each other on the beat: button, loader, toggle, chart, command palette and more. Start on a black pill button labelled 'Generate' on a soft off-white background, with a cursor that flies in with motion blur and clicks it. Black, white and light grey only, clean sans-serif type, soft shadows. Timing: use numpy to find the beats in the track and build a beat grid. 120 BPM x 7 bars = 28 beats = 14 seconds. Every UI move and every UI sound lands on a measured peak. Render: Playwright shoots 4 subframes per frame and ffmpeg tmix blends them into 60fps motion blur (14 s x 60 fps x 4 subframes = 3,360 browser renders). Render one frame per beat first, fix what is off the grid, then do the full render and mux in the track.