A brainless slime mold designs your transit network — live, on your GPU.
In 2010, researchers put oat flakes on a wet map of Tokyo at the sites of its cities and let the slime mold Physarum polycephalum grow. With no brain and no plan, it reorganised its veins into a network whose cost, efficiency and resilience rivalled the rail system engineers spent decades designing (Tero et al., Science 2010).
SlimeRoute runs that organism in your browser. Up to a million stigmergic agents sense a chemical trail, steer, move and deposit — every frame, entirely on your GPU — while the cities you place continually feed the field. The veins that carry the most traffic thicken; the rest starve and vanish. What's left is a transport network.
Then it measures. The glowing tubes are distilled into a graph and scored against the minimum spanning tree — the shortest network a cost-minimising engineer would draw. The tree is always cheaper. The mold is almost always more fault-tolerant and more direct, because it keeps a few redundant loops a tree never would. That trade-off is the whole point.
Candidate links are the Gabriel graph of your cities (it provably contains the minimum spanning tree). Each candidate is kept if the trail forms a continuous vein along it — scored by the weakest point on the segment, so a broken strand doesn't count. Fault tolerance is the fraction of links whose failure leaves the network connected; detour is the mean ratio of network distance to straight-line distance over all city pairs. It's an honest read of the organism, not a fit to a known answer.
Zayd Mulani · zayd.dpdns.org · source on GitHub. WebGL2, TypeScript, zero runtime dependencies. MIT licensed.