C—01 · components/hero/DitherHero.tsx
DitherHero
The dithered sphere behind the hero. It breathes, swells under the pointer and dissolves as you scroll.
- Why
- An identity made of two colours and one algorithm, with no image to download.
- How
- Raw WebGL with no 3D library: a single full-screen triangle. A sphere whose surface is displaced by 3D noise is ray-marched, lit from its normal, then reduced to two colours with 8×8 ordered dithering. It pauses when off-screen and draws one still frame with reduced motion.
- WebGL
- GLSL
- Ray marching
- Bayer 8×8
Verdict — Written after launch, once this part has been lived with.