Playground · 01

Glass Field

A live heat map behind glass that bends where you look.

How it works

Plate G's slit-scan heat map, rebuilt as one fragment shader. The echo strips stay fixed; only the gradient behind them bends, at the frame edge and under your pointer.

The lens has no edge at all. It fades in from nothing, magnifies a little and frosts a little.

// the lens has no edge: a gaussian falloff, magnifying toward the middle and frosting a little
float w = exp(-(r * r) / (R * R * .42)) * hover;
disp += (-dm * w * .42 * lens) / vec2(aspect, 1.);   // bend the gradient, never the strips
frost = w * lens;                                    // average a ring of samples where it's thickest