Skip to content
a grasshopper add-on for agent-based modelling based on physarum
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a grasshopper add-on for agent-based modelling based on physarum polycephalum. It is a stigmergy algorithms similar to ant colony algorithm.

Physarum polycephalum, literally the "many-headed slime", is a slime mold that inhabits shady, cool, moist areas, such as decaying leaves and logs. P. polycephalum is one of the easiest eukaryotic microbes to grow in culture, and has been used as a model organism for many studies involving amoeboid movement and cell motility. For example, a team of Japanese and Hungarian researchers have shown P. polycephalum can solve the Shortest path problem. When grown in a maze with oatmeal at two spots, P. polycephalum retracts from everywhere in the maze, except the shortest route connecting the two food sources.

English computer scientist Jeff Jones have research into the formation of this fascanationg creature. Recently, he published From Pattern Formation to Material Computation. In this book he adopted a synthesis approach and a mobile multi-agent system with very simple individual behaviours employed. The presented model reproduces the biological behaviour of Physarum; the formation, growth and minimisation of transport networks. Supplemantary material can be found here.

Based on Prof. Jones's Processing program, I put it to 3D and wrote this pulgin for Rhino/Grasshopper. I add some new features to gain more artistic expression. In addition, I am working on it so that physarum can run on a mesh.

This plugin is part of my design studio at School of Architecture, Tsinghua University. Although ths studio is over, I find there a plenty of bugs in the program. So I'm still developing it. You can come back and check it later.

Please feel free to contact me.

Ma Yidong

MArch at SOA, Tsinghua University, Beijing.

You can’t perform that action at this time.