congoay

module
v0.0.0-...-9996730 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2020 License: MIT

README

congolway

Conway's Game of Life gif generator in Go.

I wanted to make some kind of portmanteau between Conway and Game of Life. Hence congolway.

Usage

Usage of ./main:
  -congolwayFilePath string
        Congay file
  -delay int
        Delay between frames, in 100ths of a second (default 5)
  -generations int
        Number of generations of the cellular automaton (default 100)
  -outputFilePath string
        File path where the output gif will be saved (default "out.gif")

Samples

Some ASCII art
./main -congolwayFilePath="./samples/goya.txt" -outputFilePath="./samples/goya.gif"

Goya ASCII art

TODO

  • Search for better examples.
  • Allow extracting size from grid.
  • Parallelize.
  • Read standard formats of game-of-lifes.
  • Serve in a http server.

License

MIT

Directories

Path Synopsis
src
gol

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL