Short-branch pheromone Long-branch pheromone Ants
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Ant Colony Double-Bridge Experiment

A colony of ants connects its nest to a food source over two bridges of different length, and this simulator reconstructs the exact mechanism biologists used to explain how they end up almost always on the shorter one. No ant measures distance or compares the branches — each simply deposits evaporating pheromone on whichever branch it just walked and, at the next fork, chooses probabilistically in favor of whichever branch already smells stronger. Because trips on the short branch finish faster, that branch accumulates reinforcement faster too, and the imbalance snowballs through nothing but positive feedback. Adjust the length ratio, evaporation rate and the nonlinearity of the choice rule to see when the colony converges cleanly on the shorter path, when it stays split, and when it can even lock onto the longer one by chance — the same dynamics that inspired Ant Colony Optimization as a search algorithm.