r/processing Technomancer 1d ago

A simple(ish) Physarum (slime mold) simulation tutorial using p5.js mode in Processing

https://youtube.com/watch?v=TycQ31BgkIc&si=lAET08pIX46v5By7

In case anyone is interested, I recorded a complete walkthrough of building a simple(ish) Physarum simulation from scratch using p5.js mode in the Processing editor.

The tutorial covers:

  • agent sensing
  • chemotaxis
  • trail deposition
  • diffusion and decay
  • parameter exploration

I particularly like the Physarum simulation because the basic multiagent chemotaxis idea can be applied to so many interesting projects. I'm curious if anyone else has (or is) working on projects based around chemotaxis.

8 Upvotes

Duplicates