Last active
August 29, 2015 14:24
-
-
Save 7yl4r/2a5de2c61e1c561dd7fc to your computer and use it in GitHub Desktop.
Golly run all layers simultaneously
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Runs all layers simultaneously useful for viewing stacked layers. | |
Author: Tylar Murray ([email protected]), 2015. | |
""" | |
import golly as g | |
import time | |
while True: | |
for layer_n in range(g.numlayers()): | |
g.setlayer(layer_n) | |
g.step() | |
g.update() | |
time.sleep(.05) # small delay to allow update to finish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment