|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
This is an implementation of 256 elementary cellular automatons: http://mathworld.wolfram.com/ElementaryCellularAutomaton.html
|
|
|
|
|
|
|
|
|
|
Example usage and output for rule 30:
|
|
|
|
|
```
|
|
|
|
|
./cellaut.pl 10 30 30
|
|
|
|
|
111111111111110111111111111111
|
|
|
|
|
111111111111100011111111111111
|
|
|
|
@ -14,8 +15,9 @@ Example usage and output for rule 30:
|
|
|
|
|
111111001101110001111101111111
|
|
|
|
|
111110010000100110111000111111
|
|
|
|
|
111100110111101000010011011111
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
Example usage and output for rule 10:
|
|
|
|
|
```
|
|
|
|
|
./cellaut.pl 10 30 110
|
|
|
|
|
111111111111110111111111111111
|
|
|
|
|
111111111111100111111111111111
|
|
|
|
@ -28,3 +30,4 @@ Example usage and output for rule 10:
|
|
|
|
|
111111000000010111111111111111
|
|
|
|
|
111110011111000111111111111111
|
|
|
|
|
111100011110010111111111111111
|
|
|
|
|
```
|
|
|
|
|