Voxel Slice Lab

Explore a three-dimensional world, one plane at a time.

Rules & field notes
30
30
30

All three sliders move together.

30 L × 30 W × 30 H · 27,000 voxelsEnabling the lock uses the current length.
8 gen/s
Three gliders cross a fixed plane. Each repeats its shape every 4 generations.
Paused
01

The 3D volume

Dark voxels are living cells

PERIODIC EDGES
30³ / MOORE 26
Drag to orbitScroll to zoom
Y = 15
02

The 2D cross-section

X–Z plane · one voxel thick

30 × 30
0 alive+0 born−0 died
Hover to inspect
029

Move the plane through the volume, or leave it fixed and press Run.

AliveBornDied
Generation
00000
Discrete, simultaneous updates
Living voxels
30
0.111% of the volume
Born / volume
+0
Since the previous generation
Died / volume
−0
Since the previous generation
Living cells in this planet = 0

Try an experiment

Known patterns, reproducible behavior
World settings & save / load

With periodic edges, cells leaving one face reappear at the opposite face. With a dead exterior, structures can break at the boundary. In a two-cell dimension with periodic edges, opposite neighbor directions reach the same cell; each direction still counts.

22%

Each dimension ranges from 2 to 64 cells. Resizing reloads the selected pattern and recenters the slice on its current axis. Draw edits become the new reset state. All computation stays in your browser; the downloaded HTML also works offline.

Rules & field notes How this laboratory works, and where its patterns come from

What you are looking at

Each voxel is either alive or dead. Every generation, all cells update simultaneously using the 26 touching neighbors around them: faces, edges, and corners. The central cell does not count as its own neighbor.

The teal plane passes through the centers of one layer of voxels. The adjacent grid is exactly that layer of the full 3D simulation. It has no separate 2D evolution rule: cells outside the plane influence what appears inside it.

Living cells are dark. With Changes enabled, a teal border marks cells born in the last generation; an orange outline marks cells that just died. Trails leave a faint, eight-generation afterimage in this plane. They are a display aid, never living cells. Moving the plane clears trails and its history graph.

A useful first experiment

  1. Choose Seven cells, three phases.
  2. Keep the horizontal plane at the center and press Step a few times.
  3. The slice contains 7, then 3, then 1 living cells, repeating every three generations, while the full 3D population stays at seven.
  4. Move the slice one layer above or below to see the complementary cells appear there.

A glider is a pattern that repeats its shape after several generations at a displaced position. A stationary repeater is an oscillator. A period of 4 means the original shape returns every four updates. These presets evolve exclusively from their local rules.

Volume dimensions

Turn off Lock to cube to set length, width, and height independently. With the lock enabled, moving any dimension slider changes all three together. Enabling the lock first sets width and height equal to the current length. The 3D box and each 2D slice automatically match these dimensions.

Coordinates and controls

Y is vertical. A Y slice shows X horizontally and Z vertically in the grid. An X slice shows Z horizontally and Y vertically. A Z slice shows X horizontally and Y vertically. Grid coordinates increase rightward and upward. Layer indices run from 0 to one less than the size along the selected axis. Length is X, width is Z, and height is Y. Rectangular slices preserve square cell proportions.

Drag the 3D view to orbit, use the wheel or + / − buttons to zoom, and use the focus button to enlarge a small pattern. Draw pauses the simulation: click to toggle one voxel or drag to paint the same state across the slice.

Research-backed rule families

In B/S notation, B lists neighbor counts that create a living cell; S lists counts that allow a living cell to survive. The historical four-digit name gives the minimum and maximum survival counts, followed by minimum and maximum birth counts.

RuleBirthSurvivalIncluded examples
Life 455554, 5p4 diagonal glider; p2, p4, p10, p20 oscillators
Life 576665, 6, 7p8 spaceship; p2 blinker; p3 fountain
Life 565555, 6p2 spaceship; p3 H oscillator
Life 685556, 7, 8p3 spaceship; p3 H oscillator

Life 4555 is a good starting point for gliders and varied oscillators. Bays describes many period-four oscillators in this rule. Life 5655 random soups often die down quickly, so start with its curated seeds. Life 6855 is an additional glider-supporting rule and may behave differently in random soups.

Curated pattern periods and displacements were checked by direct simulation before inclusion. Their stated periods describe isolated patterns, away from boundary interactions and other objects. A random soup is an experiment; a glider is not guaranteed to emerge.

Sources & credits

  1. Carter Bays (1987), Candidates for the Game of Life in Three Dimensions, Complex Systems 1, 373–400.
  2. Carter Bays (1992), A New Candidate Rule for the Game of Three-Dimensional Life, Complex Systems 6, 433–441.
  3. Carter Bays (1994), Further Notes on the Game of Three-Dimensional Life, Complex Systems 8, 67–73.
  4. Pattern coordinates adapted from David Bagley’s xlockmore life3d catalogue, whose credits include Carter Bays and Lee Earl Meeker. See also Bagley’s Life page.
Pattern data license
Copyright (c) 1994 by David Bagley.

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.

This file is provided AS IS with no warranties of any kind.  The author
shall have no liability with respect to the infringement of copyrights,
trade secrets or any patents by this file or any part thereof.  In no
event will the author be liable for any lost revenue or profits or
other special, indirect and consequential damages.

Pattern coordinates adapted from xlockmore life3d.h:
https://raw.githubusercontent.com/openbsd/xenocara/master/app/xlockmore/modes/life3d.h
The catalogue credits Carter Bays and Lee Earl Meeker for pattern discoveries.