This commit is contained in:
2020-07-24 14:22:20 +01:00
parent 67fdd3e3b3
commit 6952d182c0
3 changed files with 6 additions and 6 deletions

View File

@ -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