PDoomVideo README

The project's README from github.com/JohnHeibel/PDoomVideo. As one markdown file: README.md.

I'm Upping My P(doom)

Source code for the Claude Opus 5.5 music video for I'm Upping My P(doom).

recursion_loop

I've also made a new more reliable and general base for making Claude animations with Claude Opus 5.5.

hello_loop

Highly recommend checking it out!

Credits

How it was made

The video took two generations, both in Claude Code:

  1. First generation (legacy/): Claude Opus 5.5 (Medium)
  2. Second generation (everything else): Claude Opus 5.5

Everything in this repository was generated by the model. No scene ideas were specified. The only direction was to:

ANIMATION_GUIDE.md was written by Opus to brief the subagents it ran in parallel.

STORYBOARD.md was also written by Opus after the first generation, after being instructed to use P5 brushstrokes, make each scene visually interesting, and make every scene transition into the next.

What's here

Path What it is
src/ch/ The video's nine chapters, one file each
src/ Shared code: Clawd, the guest characters, props, lyrics and the timeline
studio.html The page every frame is painted in, using p5.js and p5.brush
render.mjs Renders frames in headless Chrome and encodes the MP4 with ffmpeg
STORYBOARD.md Opus's shot-by-shot plan
ANIMATION_GUIDE.md Opus's style and code guide for its subagents
legacy/ The first generation

Rendering

You need Node.js, Google Chrome and ffmpeg. The song is included at assets/pdoom.mp3.

npm install
node render.mjs --frames=0:156.6 --workers=4   # paint every frame into out/frames (resumable)
node render.mjs --encode --out=out/pdoom.mp4   # join the frames and the song into an MP4

If Chrome isn't installed at the default Windows path, add --chrome=<path to chrome>.

PDoomVideo (JohnHeibel/PDoomVideo)

Searching Database…

这是什么?《I'm Upping My P(doom)》这首歌的音乐视频背后的源代码——整支视频完全由 Claude Opus 5.5 在 Claude Code 中生成,每个场景、角色和转场都出自模型之手,而不是人类动画师。
那这是一个可以下载的成品视频文件,还是别的东西?这是用来绘制视频的代码:p5.js 场景在浏览器页面(studio.html)里逐帧绘制,再加上 render.mjs,它在无头 Chrome 中渲染这些帧,并用 ffmpeg 编码成 MP4。
我自己怎么渲染这个视频?安装 Node.js、Google Chrome 和 ffmpeg,然后运行 render.mjs 脚本——它会在无头 Chrome 中截取每一帧并编码成 MP4。歌曲已经包含在 assets/pdoom.mp3 里了。
渲染的时候有什么要注意的坑吗?这个脚本默认 Chrome 装在 Windows 的默认安装路径;如果你的 Chrome 装在别的地方,可以用 --chrome= 参数指定位置。除此之外,只需要把这三个工具都装好就行。
一个 AI 模型是怎么做出一整支音乐视频的?总共生成了两次:第一轮(保留在 legacy/ 里)用的是 Claude Opus 5.5 Medium,其余全部来自第二轮的 Claude Opus 5.5 生成。没有人指定任何场景创意——唯一的指示是使用 Clawd 这个角色形象,并给每句歌词配上有趣的画面和转场。
动画代码或镜头设计有 humans 参与吗?没有——仓库里的所有内容都是模型生成的。Opus 甚至自己写了 STORYBOARD.md(它逐镜头的分镜计划)和 ANIMATIONGUIDE.md(它用来给并行运行的子代理交底的风格指南)。
如果我想到处看看,仓库里都有什么?src/ch/ 下有九个章节文件(视频每一章一个),src/ 里是共享代码(Clawd、客串角色、道具、歌词和时间轴),studio.html 是用 p5.js 和 p5.brush 逐帧绘制画面的页面,还有 Opus 写的两份规划文档,以及存放第一轮生成的 legacy/。
我能把这套东西拿来做自己用 AI 制作的动画吗?这个仓库只是这支特定视频的一次性源代码,不过作者后来做了一个更新、更稳定也更通用的基础项目,专门用 Claude Opus 5.5 制作 Claude 动画,他推荐改用那个。
Creator
JohnHeibel
Size
3.5 MB
Stars
2.2K
Updated
CommitSep 25
Age
26d
Commits · 90 Days