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

22 lines
758 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
```python
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