3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

LED Cube 8x8x8

Step 69PC Software: Effect 4, Conway's Game of Life 3D

PC Software: Effect 4, Conway\
The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway. You can read more about this on Wikipedia, if you haven't heard about it before.

By popular demand, we have implemented Game of Life in 3D on the LED cube.
To make it work in 3d the rules have to be tweaked a little:

  • A dead cell becomes alive if it has exactly 4 neighbors
  • A live cell with 4 neighbors live
  • A live cell with 3 or fewer neighbors die
  • A live cell with 5 or more neighbors die
The program starts by placing 10 random voxels in one corner of the cube, then the game of life rules are applied and the iterations started.

In the second video, we run the animation faster and seed with 20 voxels.



« Previous StepDownload PDFView All StepsNext Step »
2 comments
Jan 17, 2011. 9:02 PMmspearin says:
I noticed that all the programing is done on a PC. could it be done on a MAC or will it not work?
Apr 8, 2011. 10:33 PMtrunet says:
it'll work just fine, just install XCode to have access to gcc and you'll be able to compile the serial controller software.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
651
Followers
7
Author:chr
I like microcontrollers and LEDs :D