Loading 3D engine…

🦠 Physarum slime mold

Physarum polycephalum is a single-celled organism with no brain that still solves mazes and builds efficient transport networks. Each of the thousands of points here is an agent: it senses the pheromone trail with three sensors (ahead, left, right), turns toward the stronger side and deposits a little trail behind itself. The trail diffuses and decays, and a branching vein network emerges from these simple rules (Jones 2010 model).
Agents4500
Grid size192×192
Network coverage0%
Simulation steps0
Growth time0с
🧫 Number of agents4500
📡 Sensor distance (cells)3.0
🌡️ Turn sensitivity55%
🐌 Agent speed50%
💧 Trail persistence (decay)50%
The science

Agents follow the model of Jones (2010), inspired by Physarum polycephalum. Each agent senses the pheromone field at three points a distance d ahead (left, centre, right, at ±θ = 0.5 rad), turns toward the strongest and moves a fixed step, depositing pheromone. The field then diffuses with a 3x3 weighted filter (weights 4 centre, 1 for the 8 neighbours, sum 12) and decays: c' = λ · K(c). The 2D twin uses the same agent rules and a 3x3 box filter on a flat canvas.

Two exact properties are tested on load, using this page's own filter: (1) filter + decay on the periodic grid keeps total mass Σc' = λ Σc; (2) each filter step adds variance σ² = 1/2 cell² per axis, so σ² = n/2 after n steps.

Simplifications: a discrete periodic grid, one pheromone species, no food sources or cytoplasm flow, a height-less plane. Real slime molds solve path problems by thickening tubes, not only by following trails. Illustrative, not a biological measurement. The petri dish, agar, bench and oat flakes are Blender 5.2 assets (decorative; the model is the same flat grid).

The slime mold is foraging…
Drag to rotate · left button paints trail (attracts the slime mold) · right button erases it (the camera is locked while painting)
Made with 🟠 Blender · Three.js