whichlight/dancey-dots — pull request #1 by Noura (2013-06-25 18:40:44+00:00)
Title: effects

Hey Kawan!

I was playing around with dancey-dots and thought that effects might add to the expressive and interactive potential. So far there's wobble, swell, and accent. They could all use some refinement, so I tried to make it fairly easy to add and edit effects.

They are triggered by the keyboard so you can keep moving the dot around, but that was also just the first thing I could think of and maybe there's a better interface for that. Also the legend for which keyboard commands trigger which effects is shown / hidden using the space bar. Not obvious at all and trying to think of a subtle yet discoverable way to do that.

Also I refactored quite a bit. I'm sorry. The dots were just getting too complicated for me to wrap my head around, so I tried to encapsulate them in a dot object which itself grew to be pretty hairy. Also I added underscore for a few helpful utility functions and dynamic templating from JavaScript. It wouldn't be difficult to take out underscore entirely if you prefer.

Anyway, let me know what you think!

--Noura