A library of WebGPU modules.
Compute and rendering modules that operate on GPUDevice, GPUTexture, and GPUBuffer. A CLI copies the TypeScript and WGSL source files into a local directory.
Demos
Each module has a live WebGPU demo and the full source.
Distribution
One CLI command copies the files into a local directory.
Format
Plain TypeScript and WGSL files.
Modules
noise Perlin/Simplex noise → GPUTexture
texture tri-noise-3d Triangle-wave 3D noise (WGSL + CPU)
texture voronoi Voronoi / Worley cellular noise
texture mesh-gradient Animated mesh gradient with distortion
texture gaussian-blur Separable Gaussian blur
effect bloom Multi-level bloom post-processing
effect boids GPU flocking simulation
simulation verlet Verlet integration for ropes and cloth
simulation pathfinding Pathfinding on 2D weighted grids
simulation radix-sort GPU radix sort for u32 arrays
simulation poisson-disc Poisson disc point sampling
simulation