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

More from Thermodynamics

Other simulators in this category — or see all 40.

View category →
NewSchool

Eden Growth (Lattice)

Square-lattice Eden model: each step occupies a uniformly random empty von-Neumann neighbor of the cluster; compact growth with a rough interface—track perimeter P vs 2√(πN) as a roughness proxy.

Launch Simulator
NewUniversity / research

Ising 2D: Wolff Cluster Updates

Ferromagnetic toroidal Ising (h = 0): Swendsen–Wang bond freezing with probability 1 − e^(−2βJ), build a same-spin cluster, flip it—fast mixing near T_c compared to single-spin Metropolis.

Launch Simulator
NewSchool

Hopfield Associative Memory

10×10 binary Hopfield network: Hebbian pattern storage, energy E = −½ Σ w_ij S_i S_j, and random asynchronous updates that flow downhill to fixed-point recall after noisy cues.

Launch Simulator
NewUniversity / research

Bose–Einstein vs Fermi–Dirac

Grand-canonical occupation f(E) at the same T and μ: FD, BE, and classical Maxwell–Boltzmann comparison.

Launch Simulator
FeaturedSchool

Ideal Gas Simulator

Bouncing particles in a box. See PV=nRT in action.

Launch Simulator
School

Gas Laws Interactive

Boyle's, Charles's, Gay-Lussac's laws with interactive piston.

Launch Simulator
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/Thermodynamics/Wolfram Elementary Cellular Automata

Wolfram Elementary Cellular Automata

Elementary cellular automata in Wolfram’s 1D, two-state setup update each cell from its left–center–right neighborhood through an 8-bit rule code R ∈ [0,255]: the bit of R indexed by (s_{i-1}, s_i, s_{i+1}) gives s_i^{t+1}. This page draws the space–time diagram (time downward), lets you choose periodic edges or null (zero) boundaries, start from a single 1 or a Bernoulli random top row, and shows the 111…000 lookup strip under the raster. Informal Wolfram-class labels (I–IV) are tabulated only for a handful of famous rules—classes are not sharp on finite widths.

Who it's for: Anyone learning discrete dynamical systems, complexity, or statistical physics toy models.

Key terms

  • Elementary cellular automaton
  • Wolfram code
  • Rule 30
  • Rule 110
  • Space-time diagram
  • Periodic boundary

Simulation

Single-cell IC is the classic textbook picture; random IC stresses the same rule on disordered seeds.

Parameters

30
257
384

Presets

Neighborhood index (L,C,R) maps to bit position in R: output = (R >> (4L+2C+R)) & 1. Wolfram’s four classes are qualitative; the sidebar lists a short table for common rules.

Shortcuts

  • •Space / Enter — toggle random vs single-cell IC
  • •P — new random top row (random IC mode)
  • •R — reset to Rule 30 defaults

Measured values

8-bit pattern (111→000)00011110
Class (informal)III
Mean density ⟨s⟩0.0000
W × T257 × 384

How it works

One-dimensional binary cellular automata: the next state of each cell depends on itself and its two neighbors through an 8-bit Wolfram code R. Scan rules and boundary conditions to compare ordered, periodic, chaotic, and complex space–time diagrams.

Key equations

s_i^{t+1} = (R >> (4 s_{i-1}^t + 2 s_i^t + s_{i+1}^t)) & 1 — R = Σ_{abc} b_{abc} 2^{4a+2b+c} with b_{abc} ∈ {0,1}.

Frequently asked questions

Which neighborhood bit is “most significant”?
We follow the usual convention: neighborhoods are read as binary triples (left,center,right) with value 4L+2C+R; the output for 111 is bit 7 of R, counting down to bit 0 for 000—so the 8-bit pattern printed on the page matches Wolfram’s standard ordering.
Why does my class label show “—”?
The I/II/III/IV tag is only filled for a short curated list of textbook rules; arbitrary codes can sit between classes on finite lattices, so the safe default is an em dash.
Null vs periodic edges?
Null boundaries inject virtual zeros outside the tape, biasing dynamics near the sides; periodic edges wrap the ring and remove boundaries—compare Rule 90’s Sierpinski-like fan to the clipped fringes with zeros.