Labs · Autonomous Agents
Ant Colony & Pheromone Trails
In the flow field demo the field was given. Here the agents write their own field. Ants leaving the nest lay a "home" pheromone (blue). Ants carrying food lay a "food" pheromone (orange) on the way back. Each ant senses the field with three antennae (left, ahead, right) and turns toward the strongest scent.
Pheromones evaporate, so unused trails fade while busy ones get reinforced. Efficient highways emerge with no planner at all. This indirect coordination through the environment is called stigmergy.
Left-drag to paint food far from the nest, right-drag to erase it, and watch new trails form.
Controls
- Ants
- Pheromone persistence
- Sensor angle
- Sensor distance
- Wander
- Speed
- Steps per frame
- Home trail colour
- Food trail colour
- Food colour
Evolved from Flow Field Following.
Evolved into Termites Building Piles.