Nature · Study 033
Ant Trails
Two hundred and fifty ants search at random, find food and lay pheromone on the way home. Watch trails emerge, strengthen and fade.
What you're looking at
An ant without food wanders, steering toward stronger scent when it senses any. An ant that reaches a food pile turns for the nest and lays pheromone as it walks. The scent evaporates steadily, so only routes that keep being reinforced survive. Short routes get refreshed more often and win.
The idea behind it
No ant knows the map. The trail network is a shared memory written into the ground, an idea biologists call stigmergy. The same mechanism inspired ant colony optimisation, a family of algorithms used for routing and scheduling problems.
Try this
Click or tap to drop a new pile of food. The colony finds it and builds a road.