Boids
Separation, alignment and cohesion, tuned live in the browser.
What is this?
An interactive boids lab inspired by Craig Reynolds' flocking model. Hundreds of agents move as a group without a leader: each one only reacts to nearby neighbors and the whole flock emerges from local decisions.
How it works
The simulation combines separation, alignment and cohesion forces, plus cursor attraction or repulsion. Presets and sliders let you push the system from smooth flocking to chaotic swarms.