Files
innernaut/notes.md
2019-09-22 18:56:04 +01:00

758 B
Raw Permalink Blame History

Notes

  • Need to reintroduce the audio processing for reacting to music
  • Figure out a mechanism for introducing repetition into the object graph that can be controlled from the cue animations  i.e., be able to control the number of repeated objects

with Repeat(id='stars', count=1):
    with Path(tags='star'):
        pass

with Cue('Qxx'):
    Match('#stars').count = sine(t / 10) * 50
    with Match('.star') as m:
        m.x = uniform('Qxx.x')[i] * width
        m.y = uniform('Qxx.x')[i] * height
        m.color = hsv(i / n, 1, 1)
  • Would need to be able to identify objects via something other than their id  perhaps indexed instead?
  • KitObject.select() method would need to know how to return these repeated objects