The eye is a light source.
A radial gradient follows the cursor, gently darkening the room around it. The document becomes a stage lit from wherever the reader is looking.
Capability 08 — Ambient layers
Four restrained layers stacked over ordinary typography. Toggle them on and off to see each contribution, and every combination in between. None of it shouts; all of it lifts.
The difference between decoration and atmosphere is that atmosphere is felt before it’s seen.
A radial gradient follows the cursor, gently darkening the room around it. The document becomes a stage lit from wherever the reader is looking.
An SVG fractal-noise filter, sampled once and tiled, multiplies at 18% opacity. Nothing animates; the texture is the point. Without it, the page looks like a screenshot of a page.
Twenty-four tiny earth-toned rectangles drift upward, swaying on sine waves, pulsing in opacity. Below the threshold of distraction, above the threshold of dead.
Three radial gradients crossfade as you scroll — dawn light at the top, warm interior in the middle, deep night by the end. The scrollbar becomes a clock.
How this is built
Each primitive is under a hundred lines. None of them are novel — what matters is that they compose cleanly, respect reduced-motion, and tear down on route change without leaking rAF loops or event listeners. Every file below is open in the repo.