🐦 Bird Flock 2D — Boids Flocking Simulation
A 2D Canvas boids simulation: watch a flock of birds self-organize from three simple local rules — separation, alignment and cohesion. Tune each weight live, add a chasing predator, and click to scare the flock.
⚙ Under the hood
A 2D Canvas boids simulation demonstrating emergent flocking from three simple local rules: separation, alignment, and cohesion. Adjust each rule's weight and the perception radius live, spawn a chasing predator, or click the canvas to scare the flock.
boidsflockingemergent behaviorswarmbirdscanvas2d
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install