cgonyeo / odd

One Dimensional Display
7 stars 1 forks source link

Change number of parameters for animations away from being hardcoded. #22

Closed cgonyeo closed 9 years ago

cgonyeo commented 11 years ago

It would open up the possibility of significantly cooler animations if I could pass in more/less/different parameters than the current hard-coded ones. Perhaps the animation data struct could hold multiple function pointers for animations, and all but one would be null?

cgonyeo commented 11 years ago

All the parameters are numbers, pass in an array of doubles perhaps?