← All showcases

// Animation

Physarum network

A slime-mould transport network finding its own shortest paths.

  • @flare-engine/simulation

A colony of data-oriented agents deposits and follows a pheromone trail. No path is authored — the network is what is left after thousands of agents reinforce what works and abandon what does not.

What it uses: @flare-engine/simulation for the pheromone field and the sense-rotate-move helpers, @flare-engine/core for the fixed-timestep loop, @flare-engine/particles for the agent pool, @flare-engine/math for the seeded scatter, and @flare-engine/render-web + @flare-engine/postfx for the CanvasKit surface and the bloom pass.

Want to build one? The guide rebuilds it from first principles, and is explicit about where the engine ends and this site’s own code begins: Showcase: Physarum network.