Conway's Game of Life in 3D

版本 1.0.0.0 (4.1 KB) 作者: Leandro Barajas
Three dimensional extension of the Conway's Game of Life.
8.5K 次下载
更新时间 2004/5/13

查看许可证

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.

引用格式

Leandro Barajas (2025). Conway's Game of Life in 3D (https://www.mathworks.com/matlabcentral/fileexchange/4892-conway-s-game-of-life-in-3d), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R12.1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Board games 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0