Slime molds are protozoans that are somehow intelligent without a brain. They basically grow or retract based on their current stress level or distance to food (in this case an oat) In this simulation, it's also incredibily simple, in a nutshell, it moves, and then checks if it's getting closer or further away from the oat, If it's moving away from it, it will start turning randomly until it's getting closer, in that case, it will turn around less likely, leading to the slime eventually finding the oat! All of this is done using only 2 variables! Controls: Mouse click to move the oat
Turbo mode recommended All coding done by myself Inspired by: Real Science Journey to the microcosmos Sebastian Leage (all of these are YT channels)