Is there an endArray plugin for TweenMax Javascript to tween between to arrays?
I'm trying to animate the points in an SVG polygon. There could be any number of points so I thought it would be simple enough to convert the points to an array and then reset the points onUpdate.
example:
var from = [0,0,0];
var to = [10,20,30];
TweenMax.to( from, 1, { endArray:to, onUpdate:function(){redraw(from)} } );
Thanks
Matt