WebGPU Fluid Lab
Fluid Dynamics fuses macro-scale spectral oceanography with micro-scale GPU particle fluid simulation in one interactive WebGPU lab. Fly across a six-cascade FFT open ocean where beach balls, rubber ducks, crates, and cannonballs ride real rolling swells, blast ring ripples and sunlit spray plumes, or spiral into a localized maelstrom. Switch seamlessly into the 30,000-particle Wave Tank to grab, fling, and splash toys under the same sunset, tropical, storm, or twilight skies with wind shear, a wave paddle, fountain, whirlpool, and custom liquid mediums. Browsers without WebGPU get the interactive Three.js heightfield fallback with caustics, refraction, and Mantaflow splashes.
Open Sea waves adapted from Noniv’s web-ocean by Maksymilian Dendura (MIT), combined with particle-fluid buoyancy and threejs-water.

Explore Fluid Dynamics
Fluid Dynamics unifies a six-cascade WebGPU FFT open ocean and a 30,000-particle SPH wave tank under shared atmosphere and fluid controls. Drop density-accurate beach balls, rubber ducks, crates and cannonballs into rolling sunset swells or a glass-clear particle basin, click to blast expanding ripples and spray plumes, and trigger waves, wind gusts, fountains and whirlpools.
Switch between Open Sea and Wave Tank at the top, pick a sky or liquid preset in Settings, drop props with the dock or keys 1 to 4, and toggle Waves, Fountain, Whirlpool or Wind. In Open Sea, click water to splash, drag to look and use WASD to fly; in Wave Tank, tap to splash and drag toys to throw them. Browsers without WebGPU load the interactive WebGL heightfield water lab.
Related reading
Projects
Explore projects

Soft-body Playground
Gummy Bear
Stretch, squash and splash real-time gummy bears in a candy physics lab.

Eye Candy
Particle Sim
Hundreds of thousands of glowing GPU particles that form shapes and react to your touch.

Spatial Music Lab
Air Guitar
Pinch mid-air to hang glowing guitar strings, swipe to strum, and stretch endpoints to bend pitch.
