40 lines
978 B
Markdown
40 lines
978 B
Markdown
|
# cellular automaton
|
||
|
|
||
|
for an ascii output run:
|
||
|
|
||
|
```
|
||
|
usage: cellular.py [-h] [--w W] [--code CODE] [--random] [--r R]
|
||
|
|
||
|
one dimensional cellular automaton for k=2
|
||
|
|
||
|
optional arguments:
|
||
|
-h, --help show this help message and exit
|
||
|
--w W field width
|
||
|
--code CODE code for the automaton
|
||
|
--random
|
||
|
--r R radius. can be 1 or 2
|
||
|
```
|
||
|
|
||
|
for opengl output:
|
||
|
|
||
|
```
|
||
|
usage: glCellular.py [-h] [--steps STEPS] [--w W] [--h H] [--fullscreen]
|
||
|
[--window_w WIN_W] [--window_h WIN_H] [--code CODE]
|
||
|
[--random] [--r R]
|
||
|
|
||
|
one dimensional cellular automaton for k=2 with opengl output
|
||
|
|
||
|
optional arguments:
|
||
|
-h, --help show this help message and exit
|
||
|
--steps STEPS steps per second
|
||
|
--w W field width
|
||
|
--h H field height
|
||
|
--fullscreen
|
||
|
--window_w WIN_W window width
|
||
|
--window_h WIN_H window height
|
||
|
--code CODE code for the automaton
|
||
|
--random
|
||
|
--r R radius. can be 1 or 2
|
||
|
```
|
||
|
|