5 releases
new 0.1.4 | Jan 23, 2025 |
---|---|
0.1.3 | Jan 22, 2025 |
0.1.2 | Jan 20, 2025 |
0.1.1 | Jan 20, 2025 |
0.1.0 | Jan 20, 2025 |
#40 in Games
260 downloads per month
15KB
334 lines
game of colors
a command line implementation of conways game of life where the algorithm was extended to work with colors
game_of_colors -i {input image} -o {output directory}
instead of selecting the input with -i, you can instead pass -pipe, telling the program to read raw binary data from the standard input.
optionally you can add:
- -g u32 to determine the number of generations it will simulate
- -threshold f32 to set all pixels in the input below the threshold to black
- -clamp_min f32 or -clamp_max f32 to clamp the input image
when run without an input image the program will generate noise as a starting point. the dimentions of the image can be set with:
- -x u32
- -y u32
Dependencies
~9–18MB
~269K SLoC