Boids
Each "boid" mimics a single animal in a flock such as a bird like a starling, or schools of fish. Each boid is only aware of other boids which are within its field of view, and close to it. There are a series of simple rules governing how the boids move:
- Cohesion: How tightly the boids pack. This means steering towards the center of any nearby groups
- Alignment: How much the boids try to match their speed and direction with those around them
- Separation: How much the boids try to avoid their neighbours. This generally acts opposite cohesion