Frame-By-Frame Code Animation

By @xelandre__. Made with Claude Opus 5.5. Watch the original post.

Remake prompt (written by Lumpong Automated)

Make a 30-second landscape (1920x1080) motion design video about [your subject: a product, a topic or yourself, with one line of description]. If I have not filled that in, ask me for the subject first.

Method: code-driven animation. Build an HTML/JS page where every frame is calculated from the time, with a single render(t) function and no timers or CSS transitions, so any frame can be drawn on its own. Capture it frame by frame with headless Chrome (Playwright), then assemble the frames with ffmpeg into an MP4. Add motion blur by rendering several sub-frames per frame and blending them. Generate the sound in code too: music, hits and whooshes written to a WAV file from the same timeline and muxed in with ffmpeg.

Direction: start on a dark, almost black screen and build up. Plan five or six scenes with a clear arc from hook to ending, use Canvas and SVG for shapes and big type, cut on the beat of the music you generate, and ease every move. Use one accent color and keep the text large.

Before the full render, export one still per scene, check them for cramped or cut-off text, fix what you find, then render.

Browse all 1008 videos