Jump to content
Search Community

MattB

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by MattB

  1. MattB

    Javascript EndArray

    Perfect! You guys are awesome. Matt
  2. MattB

    Javascript EndArray

    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
×
×
  • Create New...