What this is

100,000 particles on a 2D field, updated entirely on the GPU via WebGL2 transform feedback. Each particle samples three sensor points ahead of it on a trail-pheromone field, steers toward the strongest sensor, moves forward, and deposits trail. The trail diffuses and decays each frame via a fragment shader. Food sources (placed by clicking, or pre-loaded with the Tokyo region preset) emit strong trail. Within 30 seconds the mold organizes into an efficient transport network connecting the food sources — branching, then refining to dominant paths. The aesthetic is bioluminescent gold trails on dark background.

Why this is mind-blowing

Physarum polycephalum is a single-celled organism with no nervous system that solves shortest-path problems in mazes. In 2010, Tero and Nakagaki placed oat flakes at the locations of Tokyo's outlying cities and the slime mold grew a network nearly identical to the actual Tokyo subway. This demo recreates that experiment in your browser from one paragraph of prompt. The model knows the literature.