Beispiel #1
0
 def __call__(self,x):
     return color.HSVColor(hue=(1.0-x)*240,
                            saturation=self.saturation,
                            value=self.value)
Beispiel #2
0
 def __call__(self, x):
     return color.HSVColor(hue=x*360+self.phase_shift,
                            saturation=self.saturation,
                            value=self.value)