![]() ![]() Neighbouring.remove((0,0,0)) # a cube is not its own neighbour Neighbouring = set(permutations(,3)) # 27 neighbours Prompted by this year’s Advent Of Code challenge I have quickly implemented a 3D version of the game of life in Python in Rhino 7 import rhinoscriptsyntax as rsįor y, row in enumerate(state.splitlines()): Please, leave feedback or report any bugs here! I would also be interested in seeing project images, if anybody uses the component to realise a design. It is accessible by double clicking the component. In order to install the component, simply move it to the Grasshopper user objects folder (File > Special Folders > User Objects Folder).įeel free to alter, manipulate, adapt or bastardize the Python code in any way you like.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |