Swarm

AIGuy.org

Swarm is a program that spawns a number of agents in a simple world containing four large round obstacles. The agents move around using Boids algorithms with the following rules:

  • Average heading - move towards the average heading of all agents.
  • Average position - move towards the average position of all agents.
  • Separation - avoiding colliding with the obstacles and other agents.
  • Goal - steer towards the user specified goal.

The goal position (marked with a +) is changed by clicking inside the world area in the GUI.

Swarm