|
|
@ -91,6 +91,6 @@ for frame in range(500): |
|
|
|
gameBoard = gameBoardNextStep |
|
|
|
gameBoard = gameBoardNextStep |
|
|
|
if(gameBoard == lastGameBoard): |
|
|
|
if(gameBoard == lastGameBoard): |
|
|
|
for i in range(20): |
|
|
|
for i in range(20): |
|
|
|
animation.addFrame(newFrame) |
|
|
|
animation.addFrame(newframe) |
|
|
|
break |
|
|
|
break |
|
|
|
writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml') |
|
|
|
writebml.writeBml(animation, '/home/pi/animations/gameOfLife.bml') |
|
|
|