P(doom)A music video rendered in code · 2:36

Setting 17 scenes and 38 fonts…

0:00 / 2:36FIG. 01Sparksmexicat/pdoom-video ↗

Music video2:36Rendered live

I’m Upping My P(doom)

A music video presented as plates from an illustrated treatise on the end of the world. Each plate has its own instrument and its own dry joke, one orange spark runs through all of them, and the P(doom) value climbs every time the song ups it. Nothing here was recorded: every frame is a function of the song’s time, drawn in your browser as it plays.

Contains flashing images
Runtime
2:36
Tempo
132 BPM
Plates
22 windows, 17 scenes
Resolution
1920 × 1080, drawn live
Frame rate
Your display
Recorded frames
None

Plates22 windows

Notes

Time is the only input

Every frame is a deterministic function of the song’s time. The edit is not a list of hand-typed seconds: each plate’s window is anchored to a lyric line and snapped to the 132 BPM beat grid, so cuts land on downbeats and hits land on kicks and snares. That is also why scrubbing, the hover preview and the plate posters on this page are drawn on demand rather than decoded from a file.

The words were aligned, not typed in

The karaoke is synced word by word. The vocal was separated from the mix with Demucs and a karaoke model, aligned to the lyrics with CTC forced alignment and cross-checked against Whisper; beats, downbeats, sections, drum and vocal onsets and loudness envelopes came from a separate analysis pass. The renderer reads nothing but those two files.

One spark, many idioms

Each plate borrows a different drawing idiom: engraving, oscilloscope, bureaucratic paper, banknote guilloché, blueprint, raymarched 3D, a tree of token probabilities. What holds them together is one palette (ink, bone and a single hazard orange), one type system, one film grain, and the spark: one orange point dragging a line that becomes a loss curve, a price chart, a paperclip and finally a fuse.

How it is drawn

three.js is used as a thin layer over WebGL: half-float HDR render targets, hand-written GLSL for the rooms (ray-marched in the original, drawn here as point clouds and wire), GPU batches of anti-aliased capsules for the thousands of hairlines, and Canvas2D text layers kerned glyph by glyph from the fonts’ own tables with opentype.js. A final pass adds bloom, halation, chromatic aberration, a tone shoulder and grain.

What this page changed

The film is the original, collected as it is: its engine and scenes are vendored unchanged apart from where they load their files from, and a few plates drawn differently so that the whole film keeps up with a 120 Hz display. The shoggoth is abstract here, behind its mask and under the askew one: a strange attractor of flowing hairlines, with firing nodes where the original had eyes. The room of What was seen is a point cloud, as if it had been scanned; the paperclip lattice is wire; the whip pans integrate their motion blur by reprojection; and every plate's shaders are compiled in the background before it starts. The NOTICE next to the code lists every change. The player, the plate sheet, the page and the bilingual subtitle band under the picture belong to this lookbook. The subtitles sit outside the frame on purpose: inside it, the lyrics are already the picture.

Lyricsword-aligned

  1. FIG. 01Sparks

  2. FIG. 02Training loss

  3. FIG. 03Prompt I

  4. FIG. 04Hook I

  5. FIG. 05The room

  6. FIG. 06Shoggoth, masked

  7. FIG. 07Spacetime

  8. FIG. 08Prompt II

  9. FIG. 09Hook II

  10. FIG. 10Ascent (log scale)

  11. FIG. 11Paperwork

  12. FIG. 12Trajectory, revised

  13. FIG. 13Prompt III

  14. FIG. 14Hook III

  15. FIG. 15Paperclips

  16. FIG. 16The fuse

  17. FIG. 17Architecture (recursive)

  18. FIG. 18Scale

  19. FIG. 19Hook IV

  20. FIG. 20Loom

  21. FIG. 21What was seen

The song and its lyrics are not covered by the MIT license; all rights stay with their owners.

Original work
Giacomo Magnanini (mexicat)
Made with
Claude (Opus 5.5) in Claude Code
Code license
MIT
Song and lyrics
Rights with their owners
Type in the film
Archivo, IBM Plex Mono, Cormorant
Single-stroke type
EMS and Hershey fonts
Type on this page
Mona Sans, Martian Mono, Noto Sans SC
Collected
27 Sep 2026, upstream ca251e3

github.com/mexicat/pdoom-video·YouTube, 4K·Collected 2026-09-27

四宫格