Three Species Life
How to Use
- Press Play to start the simulation.
- Press Pause to stop it.
- Press Step to advance one generation.
- Press Clear to empty the world.
- Press Random to generate a random population.
- Select Blue, Red, or Green and tap or drag on the grid to create cells.
- Press Random Brush to enable the random brush.
- Random Brush uses the Density value to determine which cells inside the brush radius become alive.
- Every cell that becomes alive from Random Brush receives a random Blue, Red, or Green type.
- Brush Radius controls how large the random brush is around the pointer.
- Speed controls the time between generations.
- Density controls the percentage of cells initially alive when Random or Random Brush is used.
- Cell Size changes the size of every cell.
- The world wraps around the edges.
Rules
1. Underpopulation
A living cell dies when it has 0 or 1 living neighbors.
2. Total Overcrowding
A living cell dies when it has 6 or more living neighbors.
3. Same-Species Body Limit
A living cell dies when it has more than 3 neighbors of its own species.
4. Species Conversion
Another species converts the cell when it has at least 3 neighbors and at least 2 more neighbors than the cell's own species.
5. Same-Species Support
A cell with at least 2 same-species neighbors survives if no death rule applies.
6. Weak Support
A cell with exactly 1 same-species neighbor survives when it has 2–4 total living neighbors.
7. Reproduction
An empty cell becomes alive when it has 3–5 living neighbors.
8. No Pure-Species Birth
A birth cannot occur when all living neighbors are the same species.
9. Majority Reproduction
When one species has more neighbors than the others, the new cell becomes that species.
10. Mixed Reproduction
When there is no majority, a deterministic selection chooses one of the three species.
Examples
Majority
Blue + Blue + Red → Blue
Majority
Red + Red + Green → Red
Pure Species
Green + Green + Green → Empty
Mixed Species
Blue + Red + Green → One species is selected deterministically.