Cappen Fluid Simulation
- group .........
- 3D and WebGL scenes
- recording .....
- https://s4xw77gvirailb62.public.blob.vercel-storage.com/lab/cappen-fluid-simulation.mp4
- source ........
- https://ui.aryank.space/components/cappen-fluid-simulation
- markdown ......
- /lab/cappen-fluid-simulation.md
- human .........
- /lab/cappen-fluid-simulation
── WHAT_IT_IS ────────────────────────────────────────────────────────────────────────────────
A WebGL fluid field laid over a hard typographic hero. Pointer velocity splats into a GPU dye simulation, the display pass thresholds it into an ink mask, and idle currents keep the canvas alive even before interaction. Three.js render targets, scoped to a React component.
── BEHAVIOUR ────────────────────────────────────────────────────────────────────────────────
* The canvas is the material
The text remains ordinary DOM. A transparent WebGL canvas sits above it with mix-blend-mode difference, so the ink reads as an optical layer rather than a background animation.
* Scoped fluid state
Renderer, render targets, pointer listeners, resize observer, and rAF loop are all owned by the component and disposed on unmount.
* Idle splats prevent silence
The original waits for input. This port seeds the field and adds subtle idle splats so a registry preview is never blank.