🐦 Flocking Simulation

Boids flee from your mouse cursor. Each boid follows the three rules:

Separation - Avoid crowding neighbors

Alignment - Steer toward average heading

Cohesion - Move toward center of mass

1.5
1.0
1.0
3.0
4