Left click: place food  |  Right click: draw walls  |  Drag nest: reposition

Presets

Colony

Pheromones

Visualize

Actions

Food collected: 0
Active ants: 0
Trail strength: 0.00
FPS: 0

Ant Colony Optimization

How it works
Ants wander randomly until finding food. They return home depositing pheromone trails. Others follow stronger trails — emergent shortest-path finding.
Interaction
Left click  Place food source
Right click  Draw wall / obstacle
Drag nest  Reposition colony
Legend
Food pheromone
Home pheromone
Nest
Food source
Click anywhere to start