Artifacts
Small interactive things, each one a single page of its own, grouped by what I was testing.

Three Houses
One cottage drawn three ways: raw WebGL, raw WebGPU and Three.js, with a shared camera and the code for each shown.
3dwebglwebgpu
Pocket Galaxy
Up to 250K stars simulated on your GPU. Press and drag to pull them; every extra finger adds a gravity well.
webgpu
GPU Terrarium
Four WebGPU compute simulations in one page: slime mold, reaction diffusion, flow field and galaxy collision.
webgpu
WebGPU Demos
Compute shaders doing the work on your GPU: 200,000 particles around your pointer, Game of Life and more.
webgpu
Basic WebGPU Particles
10,000 particles bouncing around, written as the smallest number of WebGPU steps.
webgpu
1 Million Particles
A million particles simulated on the GPU every frame with WebGPU. Drag on the canvas to push them.
webgpu