Go to file
Dejvino c44b527fe8 Side quest 3: fix the Horizon Lines determinism flake at the cause
Phase 7's determinism check reported Horizon Lines at 2/255 against a 1/255
tolerance, but only when phase 7 ran in isolation — a full run warmed the GPU
first and it passed. A gate whose verdict depends on preceding load will
eventually stay green through a real regression, and determinism is the one
property this whole project is built on.

The cause turned out to be geometry, not the driver. The lines were drawn
with `smoothstep(u_thickness * (0.5 + u_sigLine), 0.0, d)` where the width is
0.008 scene units against a 0.028-unit pixel at 720p — a line under a THIRD
of a pixel wide, ramping from full brightness to nothing across that third.
The parameter range goes down to 0.002, which is a fourteenth of a pixel.
That is a near-vertical cliff, and a cliff turns a float wobble of 1e-7 in a
cancelling subtraction into a whole byte of colour. Nothing else in the
library sums 40 such terms.

Replaced with analytic coverage: `sat((w - d) / px + 0.5)`, where px is the
exact height of a pixel in scene units. The transition now always spans one
pixel, so no pixel sits on a discontinuity — and a line thinner than a pixel
comes out DIM instead of being drawn at full brightness wherever a pixel
centre happens to land on it. That second part is a real image fix as well as
a determinism one: it is the end of the shimmer this scene has always had.

Width stays in scene units, so resolution independence is untouched — the
320x180 vs 1280x720 diff still reads 0.00183 against a 0.06 limit.

Measured: worst delta over two identical 20-frame captures drops from 2 to at
most 1, usually 0. Phase 7 now passes in isolation, repeatedly, which is the
condition that was failing. Horizon Lines is no longer even the worst scene
on that metric.

Also removed the dead `total` accumulator while in there.

104/104 checks pass including the slow set. See SIDE-QUESTS.md §3.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 19:41:58 +02:00
.claude Phase 0: determinism spine 2026-08-05 10:59:30 +02:00
flow-state Side quest 3: fix the Horizon Lines determinism flake at the cause 2026-08-06 19:41:58 +02:00
magic-mirror Tweak: fireplace mantel and rat hole size 2025-11-20 22:32:01 +01:00
party-cathedral Tweak: minor fixes of areas 2025-12-29 21:54:25 +00:00
party-stage Feature: Drugged Out Flow visualizer 2026-05-24 14:41:15 +02:00
sparkles Initial commit. 2025-11-08 16:05:55 +01:00
tv-player Tweak: books levitating too often 2025-11-17 23:01:38 +01:00
README.md Initial commit. 2025-11-08 16:05:55 +01:00

Music Video Generator

After I'm done producing a music track, I still need to create a music video for it. Otherwise, I can't upload it to a video sharing site.

This is a library of music video "generators", anything that can be recorded along with a music file to produce a music video. Usually, this means a dynamic HTML page with some kind of dynamic visuals.