Skip to content

Commit

Permalink
Update light_demo_perf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Apr 20, 2020
1 parent 599f103 commit 6ae4e0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arcade/experimental/light_demo_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ def on_draw(self):
# Draw the contents with lighting
self.light_layer.draw()

image = arcade.get_image()
image.save(f'screenshots/frame{str(self.frame).zfill(3)}.png', 'png')
# image = arcade.get_image()
# image.save(f'screenshots/frame{str(self.frame).zfill(3)}.png', 'png')

except Exception as e:
print(e)

def on_update(self, dt):
dt = 0.1
# dt = 0.1
self.frame += 1
try:
self.time += dt
Expand Down

0 comments on commit 6ae4e0c

Please sign in to comment.