Cellular automaton using aggregation rule
Code: "cellular_automata.py". Programming language: Python
DMelt Version 1. Last modified: 09/04/2019. License: Pro
https://datamelt.org/code/cache/cellular_automata_916.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()
c.visible()
print c.getRules()
c.setRule("Aggregation")
c.visible()
print c.getRule()
print c.getInitString()
You see the box below because you did not login.