Skip to content
Evolution simulation using Processing
Roff Processing Java Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

"At some point a particularly remarkable molecule was formed by accident."

In this sketch, I want to simulate the beginning of the life. The rules are as follows:

  • Each cell has a size and a division rate that force the cell to divide every X seconds.
  • Bigger cells move slow but can store more food, smalls cells are faster but have less food capacity.
  • When a cell can't store more food it divides.
  • The cells need to eat constantly, otherwise they dead.
  • The cells can't eat other cells! This is not

Each time a cell divides, there is a possibility that a mutation appear, which will have diferent color and similar characteristics.

To simulate external factors, the amount of food that is generated every second varies sinusoidally, a complete cycle takes about 10 minutes. Only the adapted cells will survive.

<iframe width="560" height="315" src="" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

"As mis-copyings were made and propagated, the primeval soup became filled by a population not of identical replicas, but of several varieties of replicating molecules, all 'descended' from the same ancestor. Would some varieties have been more numerous than others? Almost certainly yes."

Richars Dawkins. (1976). The Selfish Gene. New York: Oxford University Press.

You can’t perform that action at this time.