forked from protonphoton/LJ
Merge branch 'master' of https://git.interhacker.space/teamlaser/LJ
This commit is contained in:
commit
a89cf3d414
@ -66,9 +66,9 @@ red = (41,24,24)
|
|||||||
white = (95,95,95)
|
white = (95,95,95)
|
||||||
blue = (0,41,64)
|
blue = (0,41,64)
|
||||||
|
|
||||||
red = (255,0,0)
|
red = (127,0,0)
|
||||||
blue = (0,255,255)
|
blue = (0,128,128)
|
||||||
white = (255,255,255)
|
white = (128,128,128)
|
||||||
def anaglyph( pl ):
|
def anaglyph( pl ):
|
||||||
|
|
||||||
debug(name,'--------------- new loop ------------------')
|
debug(name,'--------------- new loop ------------------')
|
||||||
@ -174,7 +174,6 @@ def anaglyph( pl ):
|
|||||||
debug(name,"whiteList:{}".format(out1))
|
debug(name,"whiteList:{}".format(out1))
|
||||||
debug(name,"blueList:{}".format(out2))
|
debug(name,"blueList:{}".format(out2))
|
||||||
debug(name,"redList:{}".format(out3))
|
debug(name,"redList:{}".format(out3))
|
||||||
return out3 + out2
|
|
||||||
return out1 + out3 + out2
|
return out1 + out3 + out2
|
||||||
#return out1 + out2 + out3
|
#return out1 + out2 + out3
|
||||||
|
|
||||||
|
@ -72,7 +72,8 @@ def cycleColor( pl ):
|
|||||||
|
|
||||||
debug(name,"currentColor:{}".format(currentColor))
|
debug(name,"currentColor:{}".format(currentColor))
|
||||||
for i in range( 0, len(pl)):
|
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
|
# change the composant if target reached
|
||||||
if value <= target and currentDirection == DOWN or value >= target and currentDirection == UP :
|
if value <= target and currentDirection == DOWN or value >= target and currentDirection == UP :
|
||||||
|
Loading…
Reference in New Issue
Block a user