A javascript implementation of a physarum slime mold simulation, inspired by this post by Sage Jenson. The simulation consists of a set of particles and a "deposition" layer where the particles leave trails. The trails diffuse each frame. Each particle has a position, heading, and 3 "sensors" used to determine direction change. Lots more information available in the linked blog post and the original paper.
You can right click on the canvas to save any appealing images, and the parameters are encoded in the URL so you can share any interesting configurations!