Simple Cellular-automata simulation library & engine.
This tool allows you to execute a cellular automaton by simply defining three functions: an initialization function, a transition function, and a drawing function.
The basic colors, their blending functions, gradients, neighborhood indexes, switching between rect and hex views, and other things you might want to implement a cellular automaton are already defined.
If you are interested, please open and look at game_of_life.nim first. You will see that only the rules of the cellular automaton are described, and conversely, everything else is hidden.
- nim-lang/nim >= 2.0.0
- nim-lang/sdl2 >= 2.0.5 (via nimble)
- libsdl-org/SDL >= 2.30.10
- giroletm/SDL2_gfx >= 1.0.4