Changeset - 23765682d925
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 7 years ago 2018-06-10 21:07:42
drewp@bigasterisk.com
new whirlscolor
Ignore-this: d80daac79c0ed31fe73b3a9fa95c4d44
1 file changed with 17 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/effect/effecteval.py
Show inline comments
 
@@ -282,6 +282,23 @@ def effect_chase2(effectSettings, streng
 
            })
 
    return out
 
    
 
def effect_whirlscolor(effectSettings, strength, songTime, noteTime):
 
    out = {}
 

	
 
    col = effectSettings.get(L9['colorScale'], '#ffffff')
 
    col = scale(col, effectSettings.get(L9['strength'], 1))
 
    
 
    for n in (1, 3):
 
        dev = L9['device/q%s' % n]
 
        scl = strength
 
        col = literalColorHsv(((songTime / 5) + (n / 5)) % 1, 1, scl)
 
        out.update({
 
            (dev, L9['color']): col,
 
            })
 

	
 
    return out
 

	
 

	
 
def effect_orangeSearch(effectSettings, strength, songTime, noteTime):
 
    dev = L9['device/auraStage']
 
    return {(dev, L9['color']): '#a885ff',
0 comments (0 inline, 0 general)