AI Playground - Boids

Test out a simulation of a type of AI called boids.

This website is designed for desktop, it may not appear as expected on mobile.

Seperation

50

Alignment

50

Cohesion

50

Sight Range

50

Boid Amount

50

Information

Boids are a artificial life simulation, which simulate the flocking behaviour of birds. The program makes the illusion of complex behaviours but it's really only three simple rules:

  1. Seperation - Turn away from other boids when too close
  2. Alignment - Align in the same direction as nearby boids
  3. Cohesion - Gather in the average position of nearby boids