Changeset - 9cff56d44ac6
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 6 years ago 2019-06-10 01:37:53
drewp@bigasterisk.com
tintable cyc effect wasn't obeying strength curve
Ignore-this: e40bceeb7153aa37c93c19796c5bd9a3
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/effect/effecteval.py
Show inline comments
 
@@ -457,7 +457,7 @@ def effect_image(effectSettings, strengt
 

	
 
def effect_cyc(effectSettings, strength, songTime, noteTime):
 
    colorScale = effectSettings.get(L9['colorScale'], '#ffffff')
 
    r, g, b = map(lambda x: x / 255, hex_to_rgb(colorScale))
 
    r, g, b = map(lambda x: strength * x / 255, hex_to_rgb(colorScale))
 

	
 
    out ={
 
        (SKY['cycRed1'], L9['brightness']): r,
0 comments (0 inline, 0 general)