Game of life
Cells live, die and are born by simple rules. Draw on the grid, pick a rule family and a rule, and let it run: life-like grids, smooth Lenia creatures, Langton's ants or 1D rules growing as a triangle. Pop it out onto a second screen and keep the controls here.
Running in the pop-out window. The controls here still work, and drawing here draws there.
generation 0, population 0
The numbers
How it works
Life-like rules
Every cell looks at its 8 neighbours each generation. A rule like B3/S23 means a dead cell with exactly 3 live neighbours is born, and a live cell with 2 or 3 survives; everything else dies or stays dead. Try B36/S23 (HighLife, which has replicators) or B3678/S34678 (Day and Night). Paste RLE text to drop in any pattern from LifeWiki.
Lenia
Lenia makes life continuous: each cell holds a value from 0 to 1, and the neighbourhood is a soft ring of radius R rather than 8 cells. The ring-weighted sum U is passed through a bell-shaped growth curve: near μ cells grow, far from it they fade. The convolution is done with a fast Fourier transform, so a whole step costs about n log n instead of n × R². The Orbium is a glider found by Bert Chan.
Langton's ant
An ant sits on a grid of colours. On colour k it turns by the k-th letter of the rule (R right, L left, N none, U about), bumps the cell to the next colour and steps forward. With RL, after about 10,000 steps of chaos it builds a diagonal highway forever. Several ants share one grid and get in each other's way.
Elementary 1D rules
A row of cells; each new row is worked out from the old one by looking at each cell and its two neighbours. Three cells make 8 patterns, and a rule says on or off for each, so there are 2⁸ = 256 rules. Stacking the rows draws the history as a picture: Rule 90 grows a Sierpinski triangle, Rule 30 grows randomness and Rule 110 can compute anything.
Shortcuts: Space play, . step, R random, C clear, F full screen.
four tiny rules, each a line long, and out come gliders, creatures, highways and fractals.