game_of_colors

Crates.iogame_of_colors
lib.rsgame_of_colors
version0.1.4
created_at2025-01-20 03:11:17.508419+00
updated_at2025-01-23 06:01:03.855806+00
descriptioncommand line game of life ... but colorful
homepage
repositoryhttps://github.com/amitmaish/game_of_colors
max_upload_size
id1523528
size51,851
amit (amitmaish)

documentation

README

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
Commit count: 26

cargo fmt