Changeset - 92555101ea56
[Not reviewed]
default
0 1 0
Drew Perttula - 11 years ago 2014-06-13 06:52:41
drewp@bigasterisk.com
add colorSolid
Ignore-this: 94d80a16d3629a588ccf0320c8a8242b
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/Effects.py
Show inline comments
 
@@ -65,6 +65,13 @@ def colorDemo():
 
    s.which = 'L'
 
    s.pixels = [(0,0,1)] * 50
 
    return s
 

	
 
@register
 
def colorSolid(which='L', color=[1,1,1]):
 
    s = ColorStrip()
 
    s.which = which
 
    s.pixels = tuple(color) * 50
 
    return s
 
    
 
@register
 
def stack(t, names=None, fade=0):
0 comments (0 inline, 0 general)