This commit is contained in:
Sam 2020-10-11 11:26:10 +02:00
commit a89cf3d414
2 changed files with 5 additions and 5 deletions

View File

@ -66,9 +66,9 @@ red = (41,24,24)
white = (95,95,95)
blue = (0,41,64)
red = (255,0,0)
blue = (0,255,255)
white = (255,255,255)
red = (127,0,0)
blue = (0,128,128)
white = (128,128,128)
def anaglyph( pl ):
debug(name,'--------------- new loop ------------------')
@ -174,7 +174,6 @@ def anaglyph( pl ):
debug(name,"whiteList:{}".format(out1))
debug(name,"blueList:{}".format(out2))
debug(name,"redList:{}".format(out3))
return out3 + out2
return out1 + out3 + out2
#return out1 + out2 + out3

View File

@ -72,7 +72,8 @@ def cycleColor( pl ):
debug(name,"currentColor:{}".format(currentColor))
for i in range( 0, len(pl)):
pl[i][2] = rgb2int( currentColor)
if pl[i][2] != 0:
pl[i][2] = rgb2int( currentColor)
# change the composant if target reached
if value <= target and currentDirection == DOWN or value >= target and currentDirection == UP :