Claude directed this music video — and wrote its own production docs
Source code for the I'm Upping My P(doom) music video, where Claude Opus generated everything — scenes, storyboard, even the briefing docs for its own subagents — from a character design and two creative notes.

What it does
It’s the complete source for the I’m Upping My P(doom) music video — the song about one’s subjective odds of AI catastrophe. Nine chapter files in src/ch/ each animate one section, painted frame by frame inside a single p5.js page (studio.html), with shared code for the Clawd mascot, guest characters, props, lyrics, and the master timeline. render.mjs does the heavy lifting: headless Chrome paints every frame, ffmpeg stitches them together with the bundled song into an MP4, and frame output is resumable. Everything runs locally — Node, Chrome, and ffmpeg are the whole story.
The interesting bit
Per the README, everything in the repo was generated by the model; the human direction amounted to “use the Clawd character design” and “give each lyric interesting visuals and transitions.” Opus then wrote its own production docs — STORYBOARD.md, a shot-by-shot plan, and ANIMATION_GUIDE.md, a style-and-code guide used to brief the subagents it ran in parallel. So this is as much a specimen of an agent running a creative project as it is a music video.
Key highlights
- Two generations sit side by side: the first attempt in
legacy/(Opus 5.5 Medium) and the rewrite that became the final video — a rare chance to diff an agent against its own revision. - The look leans on p5.brush for painterly strokes; the second generation was explicitly steered toward brush-style scenes where each transition flows into the next.
- The render pipeline is the quietly valuable part: a browser page as the renderer, headless Chrome as the frame factory, ffmpeg as the encoder — a pattern worth stealing for any canvas-to-video project.
- The song predates the project — the README traces it to a 2024 YouTube video of udio generations, with a lyric-by-lyric interpretation linked in the credits.
Caveats
- This is a bespoke artifact for one video, not a reusable framework — the author himself points to his newer ClaudeAnimationBase as the more reliable, general base for making your own.
- Audio provenance is fuzzy: the README hedges with “as far as I could find” about where the song comes from, so check before reusing the track.
Verdict Go look if you’re curious what a model does with near-total creative control, or if you want a working browser-to-MP4 pipeline to pick apart. If you want a toolkit for your own animations, the author’s follow-up repo is the honest recommendation.
Frequently asked
- What is JohnHeibel/PDoomVideo?
- Source code for the I'm Upping My P(doom) music video, where Claude Opus generated everything — scenes, storyboard, even the briefing docs for its own subagents — from a character design and two creative notes.
- Is PDoomVideo open source?
- Yes — JohnHeibel/PDoomVideo is an open-source project tracked on heatdrop.
- What language is PDoomVideo written in?
- JohnHeibel/PDoomVideo is primarily written in JavaScript.
- How popular is PDoomVideo?
- JohnHeibel/PDoomVideo has 1.3k stars on GitHub.
- Where can I find PDoomVideo?
- JohnHeibel/PDoomVideo is on GitHub at https://github.com/JohnHeibel/PDoomVideo.