Five cells shift diagonally in four generations

Count the eight neighbors of each cell before updating the whole board. An empty cell is born with three neighbors. A live cell survives with two or three. After four generations the five-cell glider has shifted down and right by one cell.

Try the motion

When to use it

Show how a local rule gives rise to moving and oscillating patterns.

How the motion works

The 17×10 grid wraps at the edges. Every new cell state is calculated from the preceding generation.

How to use it

iOS · Android
Tap One step or Four steps. Choose Glider or Blinker to change the initial pattern.
PC
Tab to One step or Four steps and press Enter. Reset restores the selected seed.

Try a device version

Example files and implementation notes

Choose a device in the demo and save the motion to your collection to download the working HTML and implementation notes as a ZIP.