Labs · Autonomous Agents

Ant Colony & Pheromone Trails

Ant Colony & Pheromone Trails simulation

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

Evolved from Flow Field Following.

Evolved into Termites Building Piles.