WebGPU Shader Lab
Three editable GPU simulations, from first motion to emergent flocking
The WebGPU Shader Lab is an interactive playground for exploring GPU compute through editable WGSL simulations. Start with a simple particle force, move into a dynamic flow field, and finish with emergent flocking behavior.
Each stage runs directly in the browser. Move your pointer through the simulation, adjust its speed and particle count, or edit the shader and compile your changes live.
WebGPU requires a current browser with WebGPU support, such as Chrome or Edge.