Draw the title, waveform and logo as bevelled chrome in WebGL

A distance transform turns the glyphs and waveform bars into a height field
with bevelled edges and some depth, and a shader lights them as metal: a
studio of softboxes, a dark horizon and the card's colour and art as the
floor, colour split at steep edges, a key light that follows the pointer
(drifts on phones) and flares on kicks, and a sweep over each new title.
One offscreen context serves every plate. The title turns slightly towards
the pointer. Display text uses Bruno Ace SC, bundled; "simple" visuals keep
plain text and the drawn waveform.
This commit is contained in:
nvrl committed 2026-11-01 20:06:32 +01:00
1 parent 62b28bd30e
commit cfccfcaac6
7 files changed
+778 -13

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
"check": "tsc --noEmit"
},
"dependencies": {
"@fontsource/bruno-ace-sc": "^5.3.0",
"hls.js": "1.7.4"
},
"devDependencies": {