Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 880 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 880 Bytes

Cellular Automata GoDoc Go Report Card

A program for generating cellular automata.

Rule 30

View in Playground

Usage

> ca --help
Usage of ca:
  -cells int
    	number of cells (default 50)
  -file string
    	output filename
  -format string
    	output format; override file extension; one of: txt, svg, gif, json, png, jpg, jpeg
  -gens int
    	generations (default 50)
  -r int
    	rule (0-255) (default 30)
  -rand
    	randomized initial state

See the go generate commands in example.go.

TODO

[ ] Input files (json, etc).

[ ] Fix gif output.