Applet Life
This applets simulates the growth of a bacteria culture using the following simple rules:
- At the beginning all bacteria are distributed randomly.
- Afterwards the cultures appearance is calculated step by step.
- During a step in calculation for each field the number of occupied
adjacent fields is counted. (If a field is located at the border the corresponding fields
from the opposite border are counted.)
- If there lives a bacterium on the currently considered field, it survives if and only if it has two or three neighbors. Otherwise the bacterium dies due to isolation or overpopulation.
- If there lives no bacterium on the currently considered field, there comes a new one into being, if exactly three adjacent fields are occupied.
With a mouse click on a field in the bacteria culture you can selectively remove or add a bacterium.