|
|
|
@ -47,7 +47,7 @@ if __name__ == "__main__":
@@ -47,7 +47,7 @@ if __name__ == "__main__":
|
|
|
|
|
argument_parser.add_argument('-d', dest="delay", type=int, default=300, help="delay between frames (optional)") |
|
|
|
|
args = argument_parser.parse_args() |
|
|
|
|
|
|
|
|
|
frames = math.floor(args.secs * 1000 / args.delay) |
|
|
|
|
frames = int(math.floor(args.secs * 1000 / args.delay)) |
|
|
|
|
|
|
|
|
|
dimension = frame.FrameDimension(WIDTH, HEIGHT, COLOR_DEPTH, COLORS) |
|
|
|
|
game_of_life_animation = animation.Animation(dimension) |
|
|
|
|