def scheme9(self, i, v, l, cpos): return hsv2rgb(abs(sin(i**2/l)), 1, 1 - i/l)
def scheme7(self, i, v, l, cpos): return hsv2rgb(self.n/self.maxn, 1, 1 - i/l)
def scheme8(self, i, v, l, cpos): return hsv2rgb(sin(i/l), 1, 1 - i/l)
def scheme6(self, i, v, l, cpos): return hsv2rgb(abs(sin(cpos[0]*cpos[1])), 1, 1 - i/l)
def scheme5(self, i, v, l, cpos): return hsv2rgb(self.color, i/l, 1 - i/l)
def scheme4(self, i, v, l, cpos): if cpos[0] > cpos[1]: return hsv2rgb(abs(cpos[1]/cpos[0]), 1, 1 - i/l) return hsv2rgb(abs(cpos[0]/cpos[1]), 1, 1 - i/l)
def scheme3(self, i, v, l, cpos): return hsv2rgb(self.color, 1, 1 - i/l)
def scheme1(self, i, v, l, cpos): return hsv2rgb(i/l, 1, 1-i/l)