WebGPU Demos
Compute shaders doing the work on your GPU: 200,000 particles around your pointer, Game of Life and more.
Several WebGPU compute-shader demos on one page, including 200,000 particles pulled around by your pointer and Game of Life with every cell updated in parallel. Touch or drag on each one.
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.
- Pocket Galaxy
Up to 250K stars simulated on your GPU. Press and drag to pull them; every extra finger adds a gravity well.
- 1 Million Particles
A million particles simulated on the GPU every frame with WebGPU. Drag on the canvas to push them.
- Self-Printing Code Block
A code block that contains the code that drew it, with an explanation of the trick.