This Mathematica Demonstration shows the game of life in 3D layers. Each step is plotted as a distinct layer and each cube or sphere has a unique colour as a gradient.
The Game of Life is a two-dimensional totalistic cellular automation with Moore neighborhood, discovered by John H. Conway in 1970. The rules are applied to the initial condition and to each subsequent result, like a discrete dynamical system. Some initial conditions produce repetitive results, while others can produce complex patterns.
contributed by Daniel de Souza Carvalho