// Distance from the spinner centre line (approx) // This is a cheap approximation: treat spinner as a line segment. float dist = length(uv - vec2(sin(uTime*1.3)*0.6, sin(uTime*0.9)*0.4));
// Glow fall‑off (tweak exponent for sharper edges) float glow = pow(clamp(1.0 - dist / 0.12, 0.0, 1.0), 3.0); Tiny4k - Charity Crawford -Bouncing Spinner Tus...
