diff --git a/210r-256x256.png b/210r-256x256.png new file mode 100644 index 0000000..c0a2439 Binary files /dev/null and b/210r-256x256.png differ diff --git a/README.md b/README.md index ab3d5eb..6f86ea2 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,16 @@ Presently it implements a nearest neighbor one dimensional cellular automata and the reversible variants of each rule. The implementation is described on [richiejp.com/1d-reversible-automata](https://richiejp.com/1d-reversible-automata). + +## Command Line + +If the command line switch `-f ` is specified then +`automata` will save an image to `` and exit. For example: + +```sh +$ ./automata -w 4 -h 256 -i "Shell Example" -f ./210r-256x256.png -r 210 -e +``` + +Produces + +![Rule 210r](210r-256x256.png)