Charles Bennington

Mold simiulation

Mold count (warning: higher values may result in performance issues)

Mold color

Ring collection size

This project presents a simulation of a plasmodial slime mold (Myxogastria), inspired by biological principles and referenced from Wikipedia. The simulation is designed to model the movement and aggregation behavior of slime mold in a computationally efficient manner, allowing real-time visu alization in a web browser.

The underlying algorithm has been simplified to optimize performance within a browser environment. Each mold particle follows a behavior analogous to real plasmodial slime mold, moving toward the brightest nearby particle. This behavior simulates the natural tendency of slime mold to aggregate and navigate toward nutrient sources or other mold structures.

The mold count parameter represents the total number of individual mold particles present in the simulation at any given time.

The color parameter adjusts the red (R) component of the mold's RGB color value, influencing its visual representation.

The ring collection size parameter controls the distance from the simulation's center at which mold behavior is modified. When mold particles exceed a specific threshold distance, their blue (B) color component is altered, promoting the emergence of distinct ring-like formations. A lower ring collection size enhances the visibility of these concentric structures, resulting in more pronounced patterns. Conversely, a higher value reduces the frequency of ring formation, leading to a more diffuse and less structured appearance.

At lower ring collection settings, the simulation produces highly visible, periodic ring structures that create visually striking and dynamic patterns.

If you find this interesting, feel free to contact me more about it.