🐦 Boids Flocking Simulation

Watch emergent flocking behavior from simple local rules

1.5
1.0
1.0
50
2
150
FPS: 60 | Active Boids: 150
How it works: Each boid follows three simple rules based on its nearby neighbors, creating complex flocking behavior.

Separation

Avoid crowding neighbors - steer away from boids that are too close

Alignment

Steer towards the average heading of neighbors

Cohesion

Steer towards the average position of neighbors