How do many single-celled organisms coordinate to form groups?
Ants find the shortest path to food by leaving a trail of evaporating pheromones in their environment. A classic example of stigmergic behavior.
An example demonstrating the THREE.js renderer.
A single connected component forms over time as two agents are connected at random every tick.