Fixes
This commit is contained in:
6
cues.py
6
cues.py
@ -19,7 +19,7 @@ with Cue('Q01', name='Mask', fadeIn=5, fadeOut=5):
|
||||
with Cue('Q02', name='Rotating mask', fadeIn=1, fadeOut=2):
|
||||
period = 11
|
||||
count = t / period
|
||||
Match('#master_mask').rotate = count % 1 * f
|
||||
Match('#main_mask').rotate = count % 1 * f
|
||||
|
||||
with Cue('Q03', name='Multiple masks'):
|
||||
period = 3
|
||||
@ -63,13 +63,13 @@ with Cue('Q07', name='Helmet', fadeIn=1, fadeOut=1):
|
||||
with Cue('Q08', name='Shrinking mask', fadeIn=1, fadeOut=1):
|
||||
period = 20
|
||||
count = t / period
|
||||
Match('#master_mask').scale = 0.01 + sine(count)
|
||||
Match('#main_mask').scale = 0.01 + sine(count)
|
||||
|
||||
with Cue('Q09', name='Beating mask', fadeIn=1, fadeOut=1):
|
||||
period = 60 / BPM
|
||||
count = t / period
|
||||
beat = sawtooth(count, duty=0.25)
|
||||
Match('#master_mask').scale = 0.9 + 0.2 * impulse(beat)
|
||||
Match('#main_mask').scale = 0.9 + 0.2 * impulse(beat)
|
||||
|
||||
with Cue('Q11', name='Rainbow triangles', fadeIn=1, fadeOut=1):
|
||||
period = 5
|
||||
|
Reference in New Issue
Block a user