
What happens to the Game of Life if you add a third dimension? Each cell now has 26 neighbours instead of 8, and Conway's original rules mostly blow up or die out. So you need different ones. In the late 1980s Carter Bays went looking for 3D rules that behave as interestingly as Conway's 2D original. This simulation starts on one of his, Life 4555. A dead cell is born with exactly 5 live neighbours, and a live cell survives with 4 or 5.
Rules to try
The Rule menu has 32 rules in four groups: Classic, Explorer, Softology's, and a few more of Bays's. Each is written in B/S notation: the neighbour counts that cause a birth, then the counts that let a cell survive. Some add a third number, C. Those are "Generations" rules: a cell that fails to survive doesn't vanish but fades out through several dying states, which leaves trails and shells behind growing structures. Some rules crystallize, some build mazes, some pulse, and a few just explode. Each one starts from a seed that was tuned so it does something worth watching. There's a link to descriptions of the rules at 3dgameoflife.com.
How it works
The world can be 12, 20, 50 or 80 cells on a side, which is up to 512,000 cells. Every live cell is drawn as a cube in a single WebGL2 draw call, coloured by height. With Bounded checked, everything outside the box is dead. Uncheck it and the world wraps around in all three directions.
Controls
Drag to orbit the cube, and scroll or pinch to zoom. Space plays and pauses, and R randomizes. The buttons step one generation at a time, randomize, clear, and change the size, rule and speed.