Improve chakra color code
sekwah41 opened this issue ยท 1 comments
Look at this python code used to run my lights. It goes through the colors a lot smoother and looks nicer rather than being stuck on red blue and green for a while. (Compare it though. it may just be the lights don't look as good with it)
def wheel(pos):
if pos < 85:
return Color(pos * 3, 255 - pos * 3, 0)
elif pos < 170:
pos -= 85
return Color(255 - pos * 3, 0, pos * 3)
else:
pos -= 170
return Color(0, pos * 3, 255 - pos * 3)