
Strata
A living photograph: any picture becomes ~100k GPU particles with real depth
VISIT LIVE SITE ↗Strataturnsastillimageintoadepth-layeredparticlefield.DepthAnythingV2estimatesdepthlocallyinthebrowser,everypixelbecomesaGPU-simulatedparticlesortedintofar,midandnearstrata,andaparallaxcameraplusadozencombinableeffects(contours,scan,wake,ripplerings,heat,loupe,constellations,nebulaandmore)makethepicturereacttothecursor.
Running a neural depth model and a ~100k-particle simulation in the same tab, without a server and without making people wait. The model is a ~50 MB download, images had to stay on the device for privacy, and the whole thing still needed to feel instant on first paint and hold its frame rate on touch devices.
Depth runs in a Web Worker through transformers.js, WebGPU at fp16 with a WASM q8 fallback, while an instant heuristic depth map (luma, blur and centre falloff) fills in until the model returns. Particles live in GPUComputationRenderer textures with velocity and position passes in GLSL, so the CPU only feeds pointer rays and ripples each frame. The particle budget scales down on touch, fonts are self-hosted, and the loader turns the model download into part of the show: the three strata form while it loads.
- React
- TypeScript
- Three.js
- React Three Fiber
- GLSL
- transformers.js
- WebGPU
