TinyWebGPU

One file, no dependencies, no build step. Live demos below — each is a single self-contained HTML file. The picker in the corner switches every demo between the readable source, the minified build and the tiny build — the tiny one drops optional features, so demos that need them will say so.

Start here · The tutorial Sixteen steps from one coloured pixel to a particle system, with a live, editable code box at every stage. Runs on your GPU as you read.
WebGPU isn’t available in this browser. The demos need Chrome/Edge 113+, Firefox 141+ (Windows), or Safari 26+, over https or localhost. On Android that means Chrome 121+ on Android 12+ — Samsung Internet, Firefox for Android and the in-app browsers inside chat and mail apps have no WebGPU at all. Run the WebGPU check to see what this device reports.

Examples