Skip to content

Commit

Permalink
Reduce number of draws even further
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin J. Laubach committed Nov 20, 2011
1 parent b8bb4da commit 1f79181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draw.py
Expand Up @@ -25,7 +25,7 @@ def __init__(self, maze):
turtle.setworldcoordinates(0, 0, self.width, self.height)
self.blocks = []
self.update_cnt = 0
self.one_px = float(turtle.window_width()) / float(self.width)
self.one_px = float(turtle.window_width()) / float(self.width) / 2

self.beacons = []
for y, line in enumerate(self.maze):
Expand Down

0 comments on commit 1f79181

Please sign in to comment.