Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.32 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.32 KB

nim-ca

Simple Cellular-automata simulation library & engine.

What is it?

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.

Dependencies

Examples

image

image

image