This section will get into the emergent phenomenon in group behavior and swarm intelligence.
Boids is an artificial life program, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds. Boids stands for "bird-oids". The basic model consists of three simple steering behaviors which describe how an individual agent maneuvers based on the positions and velocities of sarrownding agents.
Cohesion | Separation | Alignment |
---|---|---|
move towards center of mass of the group | avoid collision with other members | face towards the average heading of the group |
Each agent can access directly to the whole scene's geometric description, but an agent is only affected by flockmates within a certain small neighborhood around itself.
In the following simulation of swarm formation, we can see the process of agents, which were initially at random points in space, forming a swarm.
In the following simulation of predation, we can see a simulated interaction of predator and prey; one kills and eats another organism, where the predator is represented by the red arrow and the prey is represented by the blue arrow. This simulation aimed to simulate the motion of fish.