Flow Lab is a browser-based WebGPU particle-simulation project built with Three.js TSL.
It explores realtime MLS-MPM motion with a fluid-art visual direction, plus interactive scene controls and built-in capture tools for stills and short loops.
https://proto.lucidity.design/sites/flow-lab
- orbit with pointer drag
- press
Spaceto pause or resume the simulation - use the Tweakpane
settingspanel for particle count, particle size, bloom, and point rendering - use
settings > presentation > fitToWindowto make the viewport aspect become the active chamber, so the simulation fills the window instead of staying in the original contained box - use
settings > presentation > showChamberto toggle the chamber mesh in either mode - use
settings > backgroundto switch between HDR sky and a solid background color, and to tune chamber surface settings - use
settings > colorfor quick palette presets and manual hue / saturation / value tuning - use
settings > captureto save a PNG or a short GIF from the current viewport, and reduce GIF size with scale, frame count, and fps - tune
settings > presentation > exposure,environmentIntensity, andbloomStrengthfor different looks
From the repo root:
npm install
npm run dev
- WebGPU support is required for the intended rendering path
- this repo is configured for direct local runtime in Codex Workspace via .workspace/project.json
Reference chain:
- the MLS-MPM implementation is heavily based on matsuoka-601/WebGPU-Ocean
- the visual direction is influenced by Refik Anadol

