View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Conway's Game of Life in 3D

4.6 | 8 ratings Rate this file 25 Downloads (last 30 days) File Size: 4.09 KB File ID: #4892 Version: 1.0
image thumbnail

Conway's Game of Life in 3D



09 May 2004 (Updated )

Three dimensional extension of the Conway's Game of Life.

| Watch this File

File Information

3-Dimensional version of Conway's Game of Life. "Life" is a cellular automaton invented by John Conway that involves live and dead cells in a rectangular, two-dimensional universe. This implementation uses a M x M x M grid; the number initial ramdomly generated cells can be changed using the slider control.
Whether cells stay alive, die, or generate new cells depends upon how many of their eight possible neighbors are alive. By using sparse matrices, the calculations required become astonishingly simple. We use periodic (torus) boundary conditions at the edges of the universe. Pressing the "Start" button automatically seeds this universe with several small random communities. Some will succeed and some will fail.


This file inspired Gpu Accelerated Conway's Game Of Life In 3 D.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
11 Dec 2016 Scott Turnbull

Excellent foundation. Falling behind current MatLab supported api, with functions flagged with an error as depricated. I resolved those and updated it for GPU support, runtime world size selection, and runtime simulation step delay selection. Easily ran a 500**3 world with 16**6 automata.

16 Nov 2016 Lisa Yan

03 May 2012 Panos Zafiridis

04 Dec 2011 Lyuboslav Petrov

04 Jul 2006 Luca Nelli

very good!

15 May 2006 Stanislav Barov

Best thing!
Big thanks!

10 May 2006 vittorio ghirardini

it's very good

26 May 2004 Léon Hagenaars

Looks nice, works nice. It would be a fun thing if more options were added to the interface, like the size of the cube or the number of neighbours needed for survival.

Contact us