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

A more komplex sketch created with Processing.

Clicking adds new bacteria to the playground. These are babies at first, but slowly reach maturity and finaly die of age.
They spend their lives by moving arround on the playground. If two adult bacteria of different sex meet they have a child.
Ill bacteria age faster and pass the illnes to their children.

Colors:
turquoise := male baby bacteria
yellow := female baby bacteria
blue := male mature bacteria
red := female mature bacteria
purple := ill, male mature bacteria
pink := ill, female mature bacteria

left mouse button := add bacteria
right mouse button := add ill bacteria
middle mouse button := clear screen

Source code: Bacteria

Built with Processing

Return to BLOG