Boids
Boids is an artificial life program, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds.
How it works: Each boid (bird-like object) follows three simple rules:
- Separation: Avoid crowding nearby boids
- Alignment: Steer towards the average heading of nearby boids
- Cohesion: Move towards the average position of nearby boids
Watch as these simple rules create complex, life-like flocking patterns. The colored dots represent individual boids, and the wedge shape shows each boid's vision cone and detection range.