← lab index

Flocking — Boids Algorithm

Craig Reynolds' 1986 flocking model: each boid follows three rules — separation (avoid crowding), alignment (steer with neighbors), cohesion (move toward center of group).