Skip to content

ninabcdefghi/conway-s-game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conway's game of life

a simple version of conway's game of life that starts with random noise. canvas size, amount of rounds, cell size and output format (.gif image or .mp4 video) can be adjusted flexibly.

small animation

installation

pip install -r requirements.txt

and for now, just download "game-of-life-v2.ipynb", adjust the variables in the "config" dict and play and play it in jupyter notebook.

sample output

Alt text

8000 cells, 300 rounds, enlarged pixels by 4

800 cells, 400 rounds, enlarged pixels by 15

800 cells, 200 rounds, enlarged pixels by 15

static

to do:

  • improve performance (especially conversion from float64 to uint8)
  • add templates and start figures (glider etc.)
  • enable flexible coloring
  • add infite mode and possibility to watch the game live (pygame?)

About

simple version and animation of conway's game of life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published