← Back to Home

Boids Simulation

Boids is an artificial life program, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds. The name "boid" corresponds to a shortened version of "bird-oid object", which refers to a bird-like object.

Each boid follows three simple rules: separation (avoid crowding neighbors), alignment (steer towards average heading of neighbors), and cohesion (steer towards average position of neighbors). These simple rules create complex, emergent flocking behavior [Original Paper] . This simulation also includes predators with different hunting strategies: Hunter (fast and aggressive), Stalker (slow but wide perception), Ambusher (fast bursts, short range), and Pack Hunter (coordinates with other pack hunters).

Separation Weight

1.5

Alignment Weight

1.0

Cohesion Weight

1.0

Perception Radius

50

Number of Predators

3

Predator Type

Hunter