← Lab

⊹ Boid Flocking





Craig Reynolds' 1986 Boids algorithm.
Complex flocking from 3 simple rules:
Separation — avoid crowding neighbors
Alignment — steer toward average heading
Cohesion — steer toward average position
fps: --