The yellow slime mould Physarum polycephalum is a single cell with countless nuclei. It has no brain, yet it solves mazes and links scraps of food with tubes as economical and robust as a well-planned railway. This layer grows such networks from hundreds of thousands of simple agents.
How it works
An agent is a point with a heading. On the trail map it sniffs three spots a distance d ahead: straight on and at an angle α to either side. It turns toward the strongest scent, takes a step and drops some trail of its own, while the map spreads out and evaporates.
It runs on positive feedback: where many agents have passed the scent is stronger, so more turn that way. Busy paths thicken and abandoned ones fade, just as the real mould widens its busiest tubes and abandons the rest. The shape of the network comes mostly from the angles and the sensor distance: in the “network” regime agents look 45° aside and turn by 22.5°, in “dendrites” they look only 15° aside but turn by 60°. The map is a torus, so the picture tiles seamlessly.
A bit of history
In 2000 the Japanese biologist Toshiyuki Nakagaki showed in Nature that the slime mould solves a maze: it withdraws from the dead ends and keeps one tube along the shortest route between two food sources. In 2010 Atsushi Tero, Nakagaki and colleagues put oat flakes where the cities around Tokyo stand and marked mountains and coast with light, which the mould avoids. The cell wove a network comparable to the real railway in total length, efficiency and resilience to broken links. Both studies won Ig Nobel Prizes, in 2008 and 2010. That year Jeff Jones published the agent model used here: no flow equations, just particles, scent and three rules.
What to tweak
- “Regime” holds six tested sets of numbers: network, coral, rings, dendrites, web and spots.
- “Start” set to “dish” grows the network inside a circle, like a Petri dish; “burst” sends every agent out from the centre.
- “Species” at 2 or 3: each senses its own trail minus the others' and they split the field into territories.
- In “custom”, raise “Decay” and faint veins vanish; a large “Deposit” saturates the map and the veins blur into ribbons.
- Animated, the network keeps rebuilding itself; with the “Glow” effect the veins light up like neon.