Claude Opus 5 Animates a Fly's Life Frame by Frame in Pure JavaScript
Developer Kevin T. Ngo showcased "The Life of a Fly" on X: every frame is drawn by JavaScript code written directly by Claude Opus 5, with no diffusion models or external image assets involved.
Confirmed
- Each frame of the animation is generated by Claude Opus 5 writing JavaScript code frame by frame, a pure creative-coding work by Kevin T. Ngo.
- Multiple Reddit posts reshared the work, with one calling it an "AI GEM"; @akbirthko said it looks far better than typical "diffusion-model-flavored" AI video.
- OpenAI's Will Depue reshared it, noting that just three years ago Greg Brockman had GPT-4 draw a unicorn, which then only produced crude SVG graphics.
Why it matters
- The case shows top coding models pushing the frontier of creative coding: the model "paints" by writing code rather than calling an image generator, offering an alternative to diffusion models for animation and generative art.
- The three-year contrast between GPT-4's SVG unicorn and Claude Opus 5's full frame-by-frame animation is a concrete benchmark of frontier-model progress.
2026-09-15 ~ 2026-09-16 · 5 related posts
Primary sources
- Claude Opus 5 draws every frame of a fruit fly animation in JavaScript — akbirthko ·
- Claude Opus 5 drew every frame of this animation using JavaScript — Many_Wave3597 ·
- Claude Opus 5 draws every frame of an animation with JavaScript — Efistoffeles ·
- Claude Opus 5 drew every frame of this animation with JavaScript — _AustinCalvert_ · 2026-09-15
- [source] Claude Opus 5 draws every frame of an animation with JavaScript — Efistoffeles · 2026-09-15
- [source] Claude Opus 5 draws every frame of a fruit fly animation in JavaScript — akbirthko · 2026-09-16
- From GPT-4's Failed Unicorn to Claude Opus 5 Animating Frame-by-Frame in JavaScript — mhmazur · 2026-09-16
1 near-duplicate retellings: Many_Wave3597