Nepedia
Back to Discover
Fluent Reader
🔢

Cellular automaton

math Maturity 11-13 Next article →

Imagine a giant sheet of graph paper that goes on forever. Each small square is called a cell.

Gospers glider gun
Gospers glider gun

Every cell can be in a certain state, like being black or white. We call these states "on" or "off." These grids are used to study how things work in nature. Scientists use them to model physics and even biology. They are also called cellular spaces or iterative arrays.

One-d-cellular-automate-rule-30
One-d-cellular-automate-rule-30

To make the model work, we use rules. Each cell looks at its neighbors to decide what to do next. A neighbor is just a cell that is right next to it. One type is the von Neumann neighborhood, which uses the four cells touching the sides. Another is the Moore neighborhood, which includes the four diagonal cells too.

CA rule30s
CA rule30s

When the rules are applied, every cell changes at the same time. This creates a new generation of the grid. The rules stay the same for every cell throughout the whole process.

This idea began in the 1940s at Los Alamos National Laboratory.

Vonneumann-john r
Vonneumann-john r

Two scientists named Stanislaw Ulam and John von Neumann worked on it. Ulam wanted to model how crystals grow using a simple network. Von Neumann was interested in how a robot might build another robot. They eventually found a way to calculate how liquids move. They treated the liquid as many tiny, separate units. This was the birth of the cellular automaton.

In the 1970s, a famous version called Conway's Game of Life became popular.

Oscillator
Oscillator

It uses a two-dimensional grid with simple rules for living and dying. If a live cell has too few neighbors, it dies from underpopulation. If it has too many, it dies from overpopulation. A dead cell can become alive if it has exactly three neighbors. Stephen Wolfram later studied one-dimensional versions in the 1980s. He found that some rules create very complex patterns.

Sample run of Rule 110 elementary cellular automaton, starting from single cell
Sample run of Rule 110 elementary cellular automaton, starting from single cell

These models can connect to many things we see every day. They can simulate chemical reactions or how living things behave. Sometimes, scientists imagine the grid is shaped like a doughnut.

Torus
Torus

This shape is called a torus. On a torus, if a cell goes off the top, it reappears at the bottom. This helps the model act like it is infinite. Even simple rules can lead to amazing, complex worlds. These small cells can even act like a computer.

389 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (9)
File:Gospers glider gun.gif
Gospers glider gun.gif
File:Torus.png
Torus.png
File:Vonneumann-john r.jpg
Vonneumann-john r.jpg
File:Oscillator.gif
Oscillator.gif
File:One-d-cellular-automate-rule-30.gif
One-d-cellular-automate-rule-30.gif
File:CA rule30s.png
CA rule30s.png
File:Sample run of Rule 110 elementary cellular automaton, starting from single cell.png
Sample run of Rule 110 elementary...
File:Textile cone.JPG
Textile cone.JPG
File:Gas velocity.gif
Gas velocity.gif
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.