A generic and fairly complete cellular automata simulation engine.
Project description
- CAGE is a fairy generic and complete cellular automaton simulation
engine in Python. It supports both 1D and 2D automata, a variety of prepackaged rules, and the concept of “agents” which can move about independently on the map for implementing agent behavior.
CAGE comes with numerous examples of fully-functional CA systems, including Conway’s Game of Life, Langton’s self-reproducing automaton, Langton’s “vants,” and 1D automata rule explorers. It also comes with simple displayers (including a curses interface for 2D automata). Also included is a unique implementation of a finite state machine (ant.py).