emlyn / sonic-pixels

Interactive lighting effects for Sonic Pi
10 stars 1 forks source link

Improve FX system #3

Open emlyn opened 7 years ago

emlyn commented 7 years ago

Lots (e.g. keeping track of previous image, start time etc) is handled by each derived effect. Should move this to base class to make writing new FX easier. Make getDisplay set properties, then call an 'abstract' render method in derived FX. Also abstract out argument parsing (handling optional args etc).

emlyn commented 7 years ago

Allow updating FX parameters without restarting (e.g. for Flame FX)