cellular_automata for game of life
Code: "cellular_automata_life.py". Programming language: Python DMelt Version 1.4. Last modified: 01/21/1973. License: Pro
https://datamelt.org/code/cache/cellular_automata_life_1676.py
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


from jhplot  import *
c=HCellular()
print c.getRules()

c.setRule("Life2")
c.visible()

print c.getRule()
input("Press Enter to continue...")


You see the box below because you did not login.