Vincentwei1021/mg-styles-15
15 motion design styles, each made by Claude Opus 5.5 writing code from one prompt: watch the films, copy the prompts, read the full source.
What it solves
Creating motion-design films traditionally requires expensive software, manual animation skills, and deep technical know-how. This project shows that a single AI prompt can produce a complete, polished 10-second film — including animation, music, and sound effects — by writing code rather than generating visuals. It makes motion design experimentation fast and accessible: you can watch a style, read how it was made, copy the prompt, and generate your own version.
How it works
Every film is built from one complete prompt given to Claude Opus 5.5, which writes all the code. The process is fully deterministic and transparent:
- Each film is a web page that can draw any frame at a given time via
window.renderAt(t). Headless Chrome captures every frame, and ffmpeg joins them with the soundtrack to produce an exact 10-second MP4. - The soundtrack is also code: a Python script (
audio.py) synthesises music and sound effects from scratch, using 103 recorded instrument samples shared across the 15 films. - There is no image or video generation — only code. The picture uses SVG, Canvas, WebGL, and Three.js, with Blender for the single 3D film.
- Each film went through two rounds of AI review with a rubric (
rubric.md), leading to final jury scores between 7.57 and 8.21 out of 10.
Who it’s for
Motion designers, developers, and AI enthusiasts who want to explore how LLMs can generate complete media artifacts. It’s also a learning resource for anyone curious about prompting for code-based animation or building a repeatable AI-driven creative pipeline.
Highlights
- 15 distinct motion-design styles, from frame-by-frame line boil to cyberpunk HUD and pixel art, each with a 10-second film.
- Full transparency: every film comes with its style notes, complete prompt, and all source code.
- Audio is code too — each soundtrack is synthesised from scratch, not sampled.
- A reusable template (
template.md) and a shared rendering harness (harness/render.mjs) let you build new styles of your own. - The showcase page is live on GitHub Pages, bilingual (English/Chinese), and lets you watch every film with sound.
- Released under the MIT License; third-party assets are CC0/public domain or licensed separately.
Related
- Project
- Project
- Project
- Project
- Project