Pocket Galaxy
Up to 250K stars simulated on your GPU. Press and drag to pull them; every extra finger adds a gravity well.
A galaxy of up to 250,000 stars simulated on your GPU. Press and drag to pull the stars, and every extra finger adds another gravity well. It has pull, push, scatter and burst modes.
Related
- Three Houses
One cottage drawn three ways: raw WebGL, raw WebGPU and Three.js, with a shared camera and the code for each shown.
- WebGPU Demos
Compute shaders doing the work on your GPU: 200,000 particles around your pointer, Game of Life and more.
- Basic WebGPU Particles
10,000 particles bouncing around, written as the smallest number of WebGPU steps.
- 1 Million Particles
A million particles simulated on the GPU every frame with WebGPU. Drag on the canvas to push them.