numpy
matplotlib
- run simpleECA.py
- Enter the Wolfram code for the rule set to follow
- Enter the number of generations to show (if n is the number of generations, the plot will be 2n + 1 wide)
If imported as a module, generateECA(rule, generation) will return a 2D array of an ECA where rule is a 0-255 int Wolfram code and generation is an int of the amount of generations to run. In the array, int 1 is "alive" and int 0 is "dead"