Skip to content

Commit ca14dc4

Browse files
committed
- pep-8-ify code
1 parent bd2c4cb commit ca14dc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter-11-mouse_and_keyboard_interaction/scratch_art/scratch_art.pyde

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ def setup():
44
background('#000000')
55
stroke('#FFFFFF')
66

7+
78
def draw():
89
colorMode(HSB, 360, 100, 100)
910
h = mouseX * 360.0 / width
1011
s = mouseY * 100.0 / height
1112
b = 100
1213
stroke(h, s, b)
1314
strokeWeight(15)
14-
15+
1516
if mousePressed and mouseButton == LEFT:
1617
line(mouseX, mouseY, pmouseX, pmouseY)
17-

0 commit comments

Comments
 (0)