Home▸Nature & Climate▸Bird Flock Boids: Cohesion, Alignment & Separation (2D)

🐦 Bird Flock Boids: Cohesion, Alignment & Separation (2D)

A 2D Canvas boids simulation: watch a flock of birds self-organize using Craig Reynolds' three steering rules — separation, alignment and cohesion — with live sliders for each force and a HUD of flock statistics.

Nature & Climate2DEasy60 FPS📱 Mobile-adapted💨 Air & Wind⇄ 3D version
2d-birds-flock ↗ Open standalone
⚙ Under the hood

A 2D Canvas2D flocking simulation implementing Craig Reynolds' boids algorithm: each bird steers using three local rules -- separation, alignment and cohesion -- with live sliders for each force's weight, flock size, neighbor radius and max speed. A HUD tracks live flock count, average heading and average speed.

BoidsFlockingEmergent BehaviorSwarmCanvas2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)