sole/tween.js — pull request #38 by egraether (2012-04-06 00:25:01+00:00)
Title: arrays as values with linear and spline interpolation

I have seen the discussion about using an array or bezier as parameters (https://github.com/sole/tween.js/issues/8) and then had a look at the spline example (http://sole.github.com/tween.js/examples/05_spline.html)

I thought this feature is something that could be really useful and not too easy to implement on one's own. So it's nice to have it provided from the library.

I accomplished a decent start with linear and spline interpolation for arrays as parameters.
There is an extra check for arrays in the start and update function of each tween, but that shouldn't be an issue at all. It's tested and works with easing. I'm not too sure if API and naming is understandable.

I visualized the different interpolation types in an example.
Next I try to have a look into beziers as well.

What do you think about this?
Is it already too much, or still too little?

thanks @mrdoob for the spline example!