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