This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# blender 2.8 | |
""" | |
This script implements Convey's "Game of Life" in Blender 2.8 | |
It relies on the blender file containing a mesh called "Cube" | |
(sidelength = 1) and an empty collection called "Grid". | |
# original code: https://gist.github.com/bened-h/9d56a03e9a14b917980c1d4039bf1687 | |
# inspired by this comment https://www.reddit.com/r/generative/comments/ghuvlg/i_made_a_25dimensional_version_of_conways_game_of/fqb5nlu/ | |
""" | |
import bpy |