The 3D volume
Dark voxels are living cells
Explore a three-dimensional world, one plane at a time.
Dark voxels are living cells
X–Z plane · one voxel thick
Move the plane through the volume, or leave it fixed and press Run.
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.
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.
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 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.
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.
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.
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.
| Rule | Birth | Survival | Included examples |
|---|---|---|---|
| Life 4555 | 5 | 4, 5 | p4 diagonal glider; p2, p4, p10, p20 oscillators |
| Life 5766 | 6 | 5, 6, 7 | p8 spaceship; p2 blinker; p3 fountain |
| Life 5655 | 5 | 5, 6 | p2 spaceship; p3 H oscillator |
| Life 6855 | 5 | 6, 7, 8 | p3 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.
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.