kopia lustrzana https://github.com/villares/sketch-a-day
better credit to Peter "Hacking Math" Farell pointing to GitHub repo
rodzic
4fb2c00370
commit
5b7e6419be
|
@ -2,7 +2,8 @@
|
|||
s18020b - Alexandre B A Villares
|
||||
https://abav.lugaralgum.com/sketch-a-day
|
||||
|
||||
Slider code by Peter Farell (slight style mod by me)
|
||||
Slider code by Peter Farell (older version tweeked by me)
|
||||
https://github.com/hackingmath/python-sliders
|
||||
"""
|
||||
from __future__ import division
|
||||
from slider import Slider
|
||||
|
|
|
@ -3,8 +3,8 @@ Slider code by Peter Farell
|
|||
htts://twitter.com/hackingmath
|
||||
http://farrellpolymath.com/
|
||||
|
||||
[ with very minor tweeks by Alexandre Villares
|
||||
http://abav.lugaralgum.com ]
|
||||
Get the most recent version here:
|
||||
https://github.com/hackingmath/python-sliders
|
||||
"""
|
||||
# USAGE:
|
||||
#>from slider import Slider
|
||||
|
@ -72,4 +72,4 @@ class Slider:
|
|||
self.val = map(self.rectx, self.x, self.x + 120, self.low, self.high)
|
||||
# draw label
|
||||
popStyle()
|
||||
return self.val
|
||||
return self.val
|
Ładowanie…
Reference in New Issue