scttfrdmn/webgpu-compute-exploration
25 interactive WebGPU compute shader examples in WGSL, from vector addition to a CNN trained in the browser: SPH fluid, cloth, N-body (GPU-built Barnes-Hut tree), path tracing, FFT audio and convolution reverb, bitonic/radix sort, k-means, Voronoi, reaction-diffusion and more. Runs in the browser, no install.
GitHub repository with 5 stars and 1 forks.
Language: JavaScript
Topics: boids, compute-shaders, fluid-simulation, fractals, game-of-life, gpgpu, gpu-computing, machine-learning, molecular-dynamics, n-body