Home▸Animals & Their World▸Bird Flock 2D — Boids Flocking Simulation

🐦 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.

Animals & Their World2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-bird-flock ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)