Physics / Math
Physarum networks
A slime-mould swarm grows an optimal transport network from local rules.

What happens
Millions of slime-mould agents follow simple local rules: sense the trail ahead, turn toward it, deposit more trail. Out of this a living transport network condenses, thickens and reroutes itself. Drop food with the left button and watch the network rebuild to reach it.
Equations used in the module
Equations sense at ±angle ahead, turn toward the strongest trail move, deposit; trail ← blur(trail) · (1 − decay) networks emerge from hundreds of thousands of agents


