Image for Flocking Simulation

Flocking Simulation

05

A simulation of birds flocking. Using the boids technique introduced by Craig Reynolds. He uses three forces to simulate flocking behavior. The first is Separation: steer to avoid crowding local flockmates . Alignment: steer towards the average heading of local flockmates. And finally, Cohesion: steer to move toward the average position of local flockmates.

Loading...

Separation

Alignment

Cohesion