PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

Related simulators

Continue with similar topics in this category — or all 85 in Math Visualization.

View category →
NewKids

Chaos Game (Sierpiński)

Launch Simulator

Random vertex + midpoint walk; the attractor is the Sierpiński gasket — try RGB by vertex.

NewSchool

Sandpile (SOC)

Launch Simulator

BTW abelian model: add grains, ≥4 topples to neighbors; critical avalanches.

NewUniversity / research

Gaussian Mixture EM Algorithm

Launch Simulator

Expectation-maximization for a two-component Gaussian mixture: responsibilities, E/M steps, likelihood, and covariance ellipses.

NewUniversity / research

Support Vector Machine Margin

Launch Simulator

Hard/soft-margin SVM sketch with C penalty, hinge loss, support vectors, decision boundary, and margin bands.

NewUniversity / research

Keller–Segel Chemotaxis

Launch Simulator

∂ₜn = Dₙ∇²n − χ∇·(n∇c), ∂ₜc = D_c∇²c + αn − βc; bacteria follow attractant; collapse at high χ; 96² grid.

NewSchool

FFT Magnitude Spectrum

Launch Simulator

Paint or preset a 256-point signal; radix-2 FFT shows |X[k]| vs bin (DC to Nyquist).

PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Math Visualization/Conway's Game of Life

Conway's Game of Life

B3/S23 on a torus: paint cells, run, step — glider, LWSS, Gosper gun, pulsar, and more.

Run

12

Draw on grid

Toggle: one cell per click. Draw / erase: drag across cells.

Presets

0.28

Shortcuts

  • •Space / Enter — play / pause
  • •R — clear grid

Measured values

Generation0
Live cells0

About this model

Conway's Game of Life is a two-dimensional cellular automaton played on a square grid. Time advances in discrete generations. Each cell is either alive or dead. The next state of every cell is determined simultaneously from its eight nearest neighbors using Conway's rules: a dead cell with exactly three live neighbors becomes alive (birth); a live cell survives only if it has two or three live neighbors, otherwise it dies (underpopulation or overcrowding). This rule notation is often written B3/S23. The model is deterministic and requires no randomness once an initial pattern is set, yet it can produce remarkably complex, long-lived, and unpredictable behavior from simple seeds—a standard classroom example of emergence. This simulator uses a toroidal topology: the top edge wraps to the bottom and the left to the right, so gliders and spaceships re-enter the field instead of vanishing at a hard boundary. Users can paint or erase cells with the mouse, run continuous evolution at an adjustable rate, advance one generation at a time, clear the board, randomize with a chosen density, or stamp famous patterns such as the glider, lightweight spaceship (LWSS), Gosper glider gun, pulsar, small oscillators, the acorn methuselah, and the R-pentomino. The implementation is a straightforward neighbor count per cell; it omits infinite grids, alternative rules, and pattern libraries beyond the built-in presets.

Who it's for: Middle school through undergraduate learners exploring discrete models, emergence, and recreational mathematics; anyone comparing finite automata to continuous differential-equation models.

Key terms

  • Cellular automaton
  • Conway's Game of Life
  • B3/S23
  • Generation
  • Glider
  • Spaceship
  • Toroidal boundary
  • Emergence

How it works

John Conway’s Game of Life: a dead cell with exactly three live neighbors is born; a live cell survives only with two or three neighbors (B3/S23). This page uses a toroidal grid so gliders wrap around. Paint your own seeds or load classic patterns including the Gosper glider gun.

Key equations

B3/S23 — birth if 3 neighbors; survive if 2 or 3

Frequently asked questions

Why are the edges wrapped (torus) instead of dead cells outside?
A torus keeps compact patterns like gliders and spaceships in view forever, which is convenient on a small finite grid. A fixed dead border is another common choice and changes behavior near the edge; both are legitimate finite approximations of an infinite plane.
Is the Game of Life "chaos" in the technical sense?
It is deterministic and governed by simple local rules, but many configurations exhibit sensitive dependence on small changes and extremely long transients—behaviors often discussed alongside chaos in popular explanations. It is not a continuous dynamical system with Lyapunov exponents in the usual ODE sense.
What is the Gosper glider gun?
It is a small stable pattern that periodically emits gliders. Its discovery proved that Life can sustain unbounded growth from a finite initial pattern, answering an early open question about whether all patterns eventually die out.
Why does random fill sometimes settle quickly and sometimes look chaotic?
Above a critical density, random fields tend to leave fragmented activity; below it, they often decay to still lifes and oscillators. The exact outcome depends on density, grid size, topology, and luck—another illustration of emergent behavior from local rules.