A simple experimenting project to imitate the dynamics of evolution. Multiple runs may be needed until by chance a bacteria survives and multiplies, you can also change the harm and food variables at the top. Read all to understand the point of this project. Run better here: https://turbowarp.org/846204897?clones=Infinity Every time you press the green flag random variables determining the behaviour of the bacteria will be assigned to a value. Then the bacteria will act following these rules, multiplying, dying and mutating. With these simple rules the bacteria will get harm when touching black dots and eat the other dots. You can change the amount of both by dragging the mouse to the top and adjusting the variables. Then press green flag. Press space key to draw a graph of the amount of bacteria over time, red dots will be drawn in the base of the graph after a new generation. Click anywhere to open a "Record" list with some significant mutations over time. How to read it: co=color, sz=size, life=life, fd=food to multiply, des=descendence, mt=mutability, turn=turn, vel=velocity, -I=how much harm does one black dot, hg=time without eating it can survive
Simulations in hard environments will result in resistent bacteria because of natural selection in case they can survive at the beggining. The same way at some point the population will go down after a peak and stabilize due to overpopulation. And because of the past 2 effects, in case the environment is too favorable the bacteria will be more sensitive and won't resist slightly different environments. Other behaviours can also be identified what i think it's cool.