Boids, computed & drawn entirely on the GPU
Left-drag to attract · Right-drag to scatter. Every boid reads the whole flock each frame in a compute shader.
gpu-flock renders with WebGPU and falls back to WebGL2,
but neither is available in this browser. Try a recent Chrome or Edge
(113+) or Safari 18+ on a machine with GPU access. The full source is on
GitHub.