Pheromone Trails

Change evaporation and exploration to see how ants build and lose a trail between the nest and food.

pheromone 0 · ants 0 · carrying 0

walls block the ants and the scent, so the colony has to route around the maze; drag the food (or nest) marker to relocate it.

What you are looking at

Ants
The agents that follow and deposit pheromone.
Bright trail
The route reinforced by repeated trips.
Maze walls
The obstacles ants must travel around.
Nest and food
The endpoints the ants shuttle between.

Try this

  1. Let the colony run to see wandering give way to a bright trail.
  2. Raise evaporation to see the route fade faster.
  3. Lower evaporation to keep old traces visible for longer.

Key idea

Stigmergy is coordination through traces left in the environment. Ants steer using the pheromone traces others leave.