- Prints out elementary cellular automata using arguments
- Only python3 dependency
- Very slow. For educational purposes.
$ python3 Main.py -h
usage: Main.py [-h] [-i ITERATIONS] [-r RULE_NUMBER] [-s STATE]
Build elementary cellular automata.
optional arguments:
-h, --help show this help message and exit
-i ITERATIONS, --evolutions ITERATIONS
The number of evolutions for the CA.
-r RULE_NUMBER, --rule_number RULE_NUMBER
The rule number for the cellular automata.
-s STATE, --state STATE
The initial conditions for the first row. 0: Middle is
*. Other cells are -. (default) 1: Random initial row
2:Far right is *. (*). Other cells are -.
python3 Main.py -e 32 -r 110 -s 2
---------------------------------------------------------------*
--------------------------------------------------------------**
-------------------------------------------------------------***
------------------------------------------------------------**-*
-----------------------------------------------------------*****
----------------------------------------------------------**---*
---------------------------------------------------------***--**
--------------------------------------------------------**-*-***
-------------------------------------------------------*******-*
------------------------------------------------------**-----***
-----------------------------------------------------***----**-*
----------------------------------------------------**-*---*****
---------------------------------------------------*****--**---*
--------------------------------------------------**---*-***--**
-------------------------------------------------***--****-*-***
------------------------------------------------**-*-**--*****-*
-----------------------------------------------********-**---***
----------------------------------------------**------****--**-*
---------------------------------------------***-----**--*-*****
--------------------------------------------**-*----***-****---*
-------------------------------------------*****---**-***--*--**
------------------------------------------**---*--*****-*-**-***
-----------------------------------------***--**-**---********-*
----------------------------------------**-*-******--**------***
---------------------------------------*******----*-***-----**-*
--------------------------------------**-----*---****-*----*****
-------------------------------------***----**--**--***---**---*
------------------------------------**-*---***-***-**-*--***--**
-----------------------------------*****--**-***-******-**-*-***
----------------------------------**---*-*****-***----********-*
---------------------------------***--****---***-*---**------***
--------------------------------**-*-**--*--**-***--***-----**-*