What you are watching
A raiding column of Eciton hamatum army ants runs both ways over a forked twig, about 200 ants a minute. The trail bends sharply at the fork. Soon an ant reaching across the narrow gap near the fork stops, gets walked over, and locks in place. Others lock onto it. The bridge then moves out into the gap, away from the fork, getting longer as it goes, and stops partway. Ants heading home carry pupae taken in the raid. The big porters and soldiers never join.
There is no code for a bridge here. Nothing tells the ants where to build it, how long to make it or when to move it. Its position and size come from each ant reacting to what is under its feet.
The rules
Each ant follows three rules, taken from field studies of Eciton:
- Walk. Head for the far end of the trail by the shortest way over whatever footing there is, bark or ants in the bridge, at about 8 cm/s. This stands in for the pheromone trail.
- Hold on when your footing is poor. If your body hangs over air, because you are stretched across a gap or have walked off the edge of the bridge, stop for up to 1.5 seconds. Each ant that walks over you then locks you in place with a 70% chance (a little more for the smallest workers), less if the footing under you sags. A locked ant grips the bark or the bodies within reach of its legs. Garnier and colleagues found that ants slowed at a gap freeze when they are walked over, and Lutz and colleagues found that ants that slip join the structure.
- Let go when the traffic stops. A locked ant leaves when few ants have walked over it in the last few seconds. Ants held by more neighbors stay longer, and no ant leaves while others hang from it. Garnier and colleagues measured both effects.
Why the bridge moves
This is the explanation Reid and colleagues proposed, and here it happens without being programmed. Ants taking the shortest way cross on the side of the bridge nearer the straight line between the tine ends, so that side gets the most traffic. Ants that walk off that edge join there. Ants on the far side, near the fork, are walked over less and let go. The bridge grows on one side and shrinks on the other, so it moves.
Why it stops
In the field, bridges stop before they reach the shortest possible path. They go farther at narrow forks and when traffic is heavy. Reid and colleagues showed that the stopping point matches a trade-off for the colony: a shorter trail saves time for every ant, but every ant in the bridge is one not raiding. They measured this trade-off, but not the rule in each ant that produces it, and suggested that the forces on the ants' legs may matter. Here the sag term in rule 2 does it. A longer span sags more, so fewer ants lock onto it, and growth at the front slows until ants leaving at the back balance it. More traffic means more chances to lock, so the bridge goes farther. In a wider fork the span grows faster as the bridge moves, so it stops sooner.
Try it
- Fork: 12°, 20°, 40° and 60°, the angles of Reid's experiment.
- Traffic: 0 to 300 ants a minute. Turn it to 0 and the bridge comes apart. Turn it back up and the ants build a new one at the fork.
- Speed: a bridge takes minutes to move. 4× and 16× speed up time.
Measured
Distance the bridge moved from the fork after 30 simulated minutes, the average of 4 runs at each setting (tools/sweep.mjs). A dash means no bridge was left at the end.
| Fork | 50 ants/min | 100 | 200 | 300 |
|---|---|---|---|---|
| 12° | 4.0 cm | 4.7 cm | 7.5 cm | 10.4 cm |
| 20° | – | 3.3 cm | 5.9 cm | 7.9 cm |
| 40° | – | 3.1 cm | 3.5 cm | 5.9 cm |
| 60° | – | 2.3 cm | 2.7 cm | 4.1 cm |
- In Reid's experiment, bridges moved about 1.5 cm at 50 ants a minute and 5.5 cm at 200, farther at small angles than at large ones, and most of the movement came in the first 10 minutes. The simulation agrees on all three. Its bridges at 12° move farther than the real ones, and at 50 ants a minute it rarely keeps a bridge at all.
- At 200 ants a minute, bridges held about 5 ants at 20°, 19 at 40° and 22 at 60° (average over minutes 8 to 10, 3 runs each).
- With the traffic stopped, the bridge was gone after 18 to 61 seconds (9 runs). Real bridges come apart within a few seconds.
- Minor workers were 25% of the bridge ants and 22% of the column. Garnier measured 32% and 22% in Eciton burchellii.
How it is built
- Footing: the twig and the bridge are mapped onto a grid of 1.25 mm cells. Each walking ant follows the shortest walking distance to its end of the trail, recomputed every 0.4 s as the bridge changes. A bridge ant adds footing under its body and spread legs.
- The bridge: each locked ant is two points, head end and tail end, joined by its body and tied by its legs to the bark or the ants it gripped. Position-based dynamics lets the bridge sag under its own weight and the ants on it. A leg pulled too far lets go.
- The column: castes in the proportions Garnier counted in raids: 22% minors, 75% medias, and 3.5% porters and soldiers, from 4.6 mm to 10 mm long. About a third of the ants heading home carry a pupa.
- Rendering: three.js. Each ant is 33 instanced parts, with legs placed by inverse kinematics in a tripod gait. The camera has the shallow depth of field of a macro lens, and the light comes from a photographed rainforest sky.
Limits
- Bridges here are one layer of ants, all held level. Real bridges are tangles, with ants hanging at every angle, and many layers deep over big gaps.
- A walking ant knows the shortest route over the footing that exists. Real ants follow a pheromone trail.
- Bridges come apart more slowly than in the field.
- The sag term is my guess at the rule behind the trade-off. The field studies show the trade-off, not this rule.
- The ants cross a twig 1 cm thick, not Reid's 3D-printed platforms, which were 3.3 cm wide.
Research: C. R. Reid, M. J. Lutz, S. Powell, A. B. Kao, I. D. Couzin and S. Garnier, Army ants dynamically adjust living bridges in response to a cost–benefit trade-off, PNAS 2015. S. Garnier, T. Murphy, M. Lutz, E. Hurme, S. Leblanc and I. D. Couzin, Stability and responsiveness in a self-organized living architecture, PLOS Computational Biology 2013. M. J. Lutz, C. R. Reid, C. J. Lustri, A. B. Kao, S. Garnier and I. D. Couzin, Individual error correction drives responsive self-assembly of army ant scaffolds, PNAS 2021. Ant colors from Brian Gratwicke's photo Army Ants Genus: Eciton (CC BY 2.0); body shape after Will Ericson's AntWeb photo CASENT0612205 (CC BY 4.0). Sky, bark, moss and leaf litter from Poly Haven (CC0): Rainforest Trail by Dimitrios Savva and Jarod Guest, Bark Willow, Moss Wood by Rob Tuytel, Dry Decay Leaves by Amal Kumar.