Skip to content

Commit

Permalink
Use integer division for the resolution of the star worms example vid…
Browse files Browse the repository at this point in the history
…eo (#1173)
  • Loading branch information
jay3ss authored May 2, 2020
1 parent 850a40e commit 6057cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/star_worms.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# RESOLUTION

w = 720
h = w * 9 / 16 # 16/9 screen
h = w * 9 // 16 # 16/9 screen
moviesize = w, h


Expand Down

0 comments on commit 6057cf0

Please sign in to comment.