top of page



SLIME MOLD SIMULATION
Languages
C++ and OpenGL
About
The idea of this project is to simulate the slime mold that is generated by the fungus Physarum polycephalum. This simulation is represented by agents; each agent tries to move in a direction by sensing the environment, and if it is able to move, leaves a trace. Each frame, the traces are blurred and evaporated a little bit so they do not stay there forever. Although the idea is simple, the outputs that this program generates are beautiful and represent almost perfectly the slime mold. I wanted to make this project because I found it very cool and I knew it was a perfect oportunity to practice more with compute shaders and with AI.
Features
Here are the features of the slime mold agents that are currently customizable:
-
Speed
-
Sensor offset
-
Sensor angle
-
Steer strength
-
Evaporate rate
-
Diffusion rate
-
Number of agents
​
References
Here you will find where the idea came from:
-
Sebastian Lague video - Initial inspiration (starts at minute 10:25)
-
Original Paper
-
Web that talks about the paper​
bottom of page