To view this content, you need to install Java from java.com

Cells

This sketch is a simulation of life and mutation.
The playground starts with a single, randomly generated cell. Cells have a genome and reproduce.
When reproducing the genome of a cell may mutate, changing one or more of it's sequences.

Characteristics

The following characteristics exist

The playground and food

The playground is limited to 800 cells and provides 5000 food for them.
If a cell gets less fodd than it needs the missing food makes it age faster.

Dependencies

Some of the characteristics are connected:

Interactions

The slider at the right bottom controlls the speed of the simulation.
The button next to it shows/hides a statistics window of all existing genomes and their ranking.
If a cell is clicked an information window is shown. Values are displayed with the following pattern:
current / calculated maximum ( original genome value )
The window hides when an empty space is clicked. The right mousebutton adds a new, randomly created cell.

Source code: Cells Cell CellInfo Genome GenomeDisplay Gui Sequences Statistics

Built with Processing

Return to BLOG