A simple application for studying cellular automata, in particular "The game of life". Currently, only it is supported.
The field is an unfolding of the torus.
- numpy
- tkinter
No .exe files, only hardcore:
python main.py
- Step - calculate one iteration of the machine;
- Clear - clear the field;
- Random - fill in the field randomly;
- Simulate - calculate the state of the machine before the stop signal;
- Click on the field - on/off a cell.
- Log - on/off logging. Logs are saved to the 'default' folder (name editing is not supported yet) and are signed withtheir serial number relative to the beginning of the recording.
- Configure - change birth/survive rules for automata to entered.
The map configuration is saved according to the following template:
x y # width and height of map in cells
0 213 4 0 ... 0 0 # Each line of the field is encoded with a binary number, these numbers are written sequentially into one line. There should be y numbers in total
Examples of serialized maps you can see there.
- Quick change of the rules for the transition of the machine;
- Prettier interface 😆;
- Adding many known configurations;
- One-dimensional mode;
- More convenient work with logs.