/cellular-automata-1d

A tool for simulating generalized 1-D cellular automata

Primary LanguagePython

1D Cellular Automata

A script for simulating 1-dimensional cellular automata. Supports variable number of states and neighborhood size.

Usage:

python cellular-automata.py <rule-number> <img-width> <num_generations> <outfile>

Example rule numbers can be found in rules.txt. Rule numbers are specified in "Wolfram Code".