This simulation uses cells that can search for food in order to gain enough energy to reproduce. Upon reproduction there is a chance of mutation which allows the cells traits to change. Currently only speed and sense distance are featured, but I hope to add more characteristics like agression, strength and size. The results so far have been interesting. So far I have observed:
A number of cells are generated with a starting energy level, and a random sense distance and speed. From here, the simulation is left to run.
The squares represent cells, and the dots represent food. The sense distance of the cells determines how far away they can sense food. Upon entering a square with food the cells gain energy
Upon reaching high enough energy levels the cells are able to reproduce, at a cost. The cells information is passed on with a chance of mutation.
The goal of the project is to simulate divergence within species - for example a sub-species that prioritises speed but uses a lot of energy, and a sub-species that evolves to prioritise huge size and slow movement to fend off attacks.
So far this has not been observed because the number of traits is too small to create any specialised sub-species.
In pursuit of this goal, I'm going to add the following traits: