Agent-Based Modeling
Thousands of independent agents interacting with a shared environment.
Physarum is a particle-based simulation that mimics the foraging behavior and transport network formation of the Physarum polycephalum slime mold. It demonstrates how complex, efficient networks can emerge from a collection of simple agents.
The simulation relies on agents (particles) that follow a few basic rules:
These simple interactions result in the formation of intricate, branching networks that resemble biological transport systems.
Agent-Based Modeling
Thousands of independent agents interacting with a shared environment.
Generative Networks
Creates complex, organic-looking branching structures from minimal rules.
Go Implementation
High-performance simulation logic implemented in Go.
Visual Output
Generates high-contrast visualizations of the emergent transport networks.
Execute the following command to start the simulation:
Navigate to the directory
cd Math_Chaos/PhysarumRun the main script
go run cmd/physarum/main.gopkg/: Contains the core simulation logic, including agent behavior and trail map processing.cmd/: Entry point for the application.images/: Sample outputs showing different network configurations and color palettes.