← All text tools

Cellular Automaton Playground

Draw a pattern or choose a preset and watch Conway's Game of Life and its rule variants, elementary rules such as Rule 30 and Langton's ant evolve at a speed you set.

  • Free
  • No sign-up
  • Works on any device

About Cellular Automaton Playground

A sandbox for three famous families of cellular automata. Life mode runs Conway's Game of Life (rule B3/S23) and relatives such as HighLife and Day and Night on an 80 by 50 grid that you can draw on, with presets from a glider to the Gosper glider gun, which releases a new glider every 30 generations. Elementary mode shows one-dimensional rules numbered 0 to 255 growing downward, for example Rule 30 or Rule 90. Langton's ant follows a left or right turn rule on a coloured grid. Play, step, jump ahead by any number of generations and read the live cell count.

How to use Cellular Automaton Playground

  1. Choose Life, Elementary rule or Langton's ant, then a rule or a pattern to place.
  2. Press Play to watch it run, Step to advance one generation, or Jump ahead to skip many at once.
  3. In Life mode click or drag on the grid to add or remove cells, then press Play again.

Why use this tool?

Also known as

Frequently asked questions

What do B3/S23 and the other codes mean?

B lists how many live neighbours make a dead cell come alive, and S lists how many keep a live cell alive. B3/S23 means a cell is born with 3 neighbours and survives with 2 or 3.

Do the edges of the Life grid wrap around?

By default yes: the grid is a torus, so a glider leaving the right side returns on the left. Untick the edge option to treat everything outside the grid as dead.

What does a rule number like 30 stand for?

It is a binary code for the eight possible neighbourhoods of three cells. Rule 30 is 00011110, so for example a lone cell with two empty neighbours becomes live. The page prints the code.

Is Cellular Automaton Playground free?

Yes. Cellular Automaton Playground on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Cellular Automaton Playground on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.