01
The WebGL silk field
The hero and closing panels are painted by a single fragment shader: raw WebGL, no three.js. A fullscreen triangle runs domain-warped fractal Brownian motion: one fbm field (q) warps a second (r), which warps the final sample, producing the folded-silk look. Champagne filaments are extracted with a smoothstep band around the fold ridges, and rare terracotta embers appear only where two fields agree. It costs one draw call per frame.
- Device pixel ratio capped at 1.5 to keep retina fill-rate cheap
- requestAnimationFrame pauses via IntersectionObserver when off-screen
- prefers-reduced-motion renders exactly one frame, then stops
- A CSS gradient sits behind the canvas as the no-WebGL fallback

