better credit to Peter "Hacking Math" Farell pointing to GitHub repo

main
Alexandre B A Villares 2018-01-22 08:26:01 -02:00
rodzic 4fb2c00370
commit 5b7e6419be
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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