Conway's game of life in a 3d setting
-
So John Conway passed away. Sadly from covid-19.
I'd done a 2d simulation of this year's ago and I wondered if it was possible in a 3d setting and it is.
This is what I came up with. It's barebones at the moment. It just uses a random seed number to define the initial state and then plays the rules.
The controls are
Zr hold to pause
X drops ten alive blocks into the simulation
Right joy moves the camera up and down and around
Right pad up and down zoom in and outIf you drop alive blocks into the simulation it ruins the seed number
I've put the random seed in so if I come across an interesting pattern I just need to take note ( video ) of the settings and make sure there all the same. Then I can repeat that start state exactly and get the same result. All the info is on the screen.
I shared yesterday but at one point I uncommented out a line that should be commented. It counts the number of nearby alive cells and this line counts the inside cell as well which changes the rules so if you have that version its line 324 it has x y z in it. Comment it out and we're all on the same page.
At the top of the program there's a whole lot of parameters that can be changed commented so you can see what they do.Currently working on a start state model maker. So I can build stuff and run it in the simulator.
It uses the touch facilities to build.
I'll share this At this state as I can see other uses for this as a model builder of some sort.Conway game of life
HXK73QB764Builder
UXK73A7964If you come across something interesting post a video here especially if its something that is moving .
-
-
-
Wait john conway died on my birthday?