kopia lustrzana https://github.com/villares/sketch-a-day
PEP8 & comment
rodzic
73c6d49f07
commit
33dea77aa7
|
|
@ -1,7 +1,10 @@
|
|||
"""
|
||||
Slider code by Peter Farell
|
||||
https://twitter.com/hackingmath
|
||||
htts://twitter.com/hackingmath
|
||||
http://farrellpolymath.com/
|
||||
|
||||
[ with very minor tweeks by Alexandre Villares
|
||||
http://abav.lugaralgum.com ]
|
||||
"""
|
||||
# USAGE:
|
||||
#>from slider import Slider
|
||||
|
|
@ -44,7 +47,6 @@ class Slider:
|
|||
def value(self):
|
||||
'''updates the slider and returns value'''
|
||||
pushStyle()
|
||||
colorMode(RGB)
|
||||
rectMode(CENTER)
|
||||
# black translucid rect behind slider
|
||||
fill(0, 100)
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue