Elcellomata is a small tool to visualize elementeray cellular automata. The visualization is intended to be somewhat "artistic" in style (inspired by Micheal Fogelman): lines are drawn between active neighbor cells and single active cells with no neighbors are drawn with a filled circle. The rule pattern is also drawn at the bottom.
Elcellomata needs pycairo for drawing. Install that with:
python3 -m pip install pycairo
./elcellomata.py 150 -o onefifty.svg
You can change the values of the variables GRID_WIDTH
, GRID_HEIGHT
,
DRAW_WIDTH_STEP
, DRAW_HEIGHT_STEP
and RULE_PATTERN_SCALE
in the script to
change the size of the output to your liking.