Home▸Algorithms & AI▸3D Cellular Automaton — Layer-Slice Grid (2D)

3D Cellular Automaton — Layer-Slice Grid (2D)

2D grid of Z-layer slices through the same voxel cellular automaton as the 3D version: watch every horizontal layer of a 26-neighbor birth/survival rule evolve side by side, scrub through depth with a layer slider, and compare occupancy per layer.

Algorithms & AI2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-cellular-automaton-3d ↗ Open standalone

This 2D companion runs the identical 14×14×14 voxel cellular automaton as the 3D version — a 26-neighbor birth/survival rule applied to every cell each generation — but instead of a rotatable volumetric scene it slices the cube into its 14 horizontal Z-layers and tiles them as a mosaic of small 2D grids, plus one enlarged focus layer you scrub through with a slider. It is a genuinely different way to read a 3D automaton: rather than inferring structure from rotation and occlusion, you see every depth slice simultaneously, the way a CT or MRI scan is read one cross-section at a time, while live per-layer occupancy stats make the cube's density pattern legible at a glance.

⚙ Under the hood

2D mosaic of every Z-layer slicing through a 14-cubed voxel cellular automaton, with an enlarged focus-layer view and adjustable birth/survival neighbor-count rules.

cellular automatongame of life3d lifevoxel gridlayer slicebirth survival rule

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)