/* sub-bass (20-80Hz) drives everything */
const sub = avgBand(20, 80); // 0-255
const rms = getRMS(); // 0-1
// bass → weight + scale
word.style.fontVariationSettings =
"'wght' " + lerp(200, 900, sub/255);
word.style.transform =
"scale(" + lerp(1, 1.5, sub/255) + ")";
// rms → background color shift
body.style.background =
oklch(lerp(0.08, 0.25, rms), ...);
press c or click to close