Code covered by the BSD License  

Highlights from
Conway's Game of Life in 3D

4.66667

4.7 | 6 ratings Rate this file 20 Downloads (last 30 days) File Size: 4.09 KB File ID: #4892
image thumbnail

Conway's Game of Life in 3D

by Leandro Barajas

 

09 May 2004 (Updated 13 May 2004)

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

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
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.

10 May 2006 vittorio ghirardini

it's very good

15 May 2006 Stanislav Barov

Best thing!
Big thanks!

04 Jul 2006 Luca Nelli

very good!

04 Dec 2011 Lyuboslav Petrov  
03 May 2012 Panos Zafiridis  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
games Leandro Barajas 22 Oct 2008 07:19:22
cellular automata Leandro Barajas 22 Oct 2008 07:19:22
game Leandro Barajas 22 Oct 2008 07:19:22
3 dimensions Leandro Barajas 22 Oct 2008 07:19:22
3d Leandro Barajas 22 Oct 2008 07:19:22

Contact us at files@mathworks.com