Skip to content

grey-area/rps-automata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create animations of rock-paper-scissors automata, where each cell transitions to the next state if at least a given number of its neighbours are in that state.

Requirements are in the requirements.txt file, so pip install -r requirements.txt.

Useage:

python rps_automata.py --width <grid width> --height <grid height> --num-colours <number of states> --neighbour-threshold <neighbours needed for state transition> --seconds <number of seconds at 15 FPS>

This will render frames in the frames directory, which can then be made into a video by running the make_video.sh script (requires ffmpeg).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published