Skip to content

enric1994/Cell

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

"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 agar.io.

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="https://www.youtube.com/embed/ixRlhI6WiJc" 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.

About

Evolution simulation using Processing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published