Krazune's Cellular Automata Viewer is a viewer for a collection of 2d cellular automata, in which images are used as input.
Current version: 2021.12.1
The version format is "<year>.<zero padded month>.<revision number>".
KCAV identifier: life
Neighborhood type: Moore neighborhood
Black and white pixels are kept as is. Other colors are converted into the closest valid color.
One of the most popular cellular automata.
KCAV identifier: seeds
Neighborhood type: Moore neighborhood
Black and white pixels are kept as is. Other colors are converted into the closest valid color.
KCAV identifier: brians-brain
Neighborhood type: Moore neighborhood
Black, white and 100% blue pixels are kept as is. Other colors are converted into the closest valid color.
KCAV identifier: lfod
Neighborhood type: Moore neighborhood
Black, and white pixels are kept as is. Other colors are converted into the closest valid color.
KCAV identifier: kladiators
Neighborhood type: Von Neumann neighborhood
Each pixel turns into the color of the neighbor pixel with the highest sum of r, g, and b channels. If multiple pixels have the same sum, priorities follow anti-clockwise direction.
No conversion needed.
Created by Krazune.
KCAV identifier: pilots
Neighborhood type: 4 immediate neighbors
The following rules are normalized into cellular automata mechanics: red pixels move right, blue pixels move down, green pixels move left, and yellow pixels move up. When multiple colors hit the same cell, that cell turns black. All other cells are white.
Colors are converted into the closest valid color.
Created by Krazune.
./kcav --help
./kcav --version
./kcav <ruleset identifier> <image path> [options]
--time <milseconds per frame>
--scale <initial scale of the window, must be above 1>
--first-frame-time <milseconds for the first frame>
This project uses Boost 1.75, SFML 2.5.1, and Google Test 1.10.x, earlier versions might be compatible.
The performance of this program is not good.
This generator was created for entertainment, and educational purposes.