Jump to content
Search Community

witstreams

Members
  • Posts

    5
  • Joined

  • Last visited

witstreams's Achievements

1

Reputation

  1. Hi, I have a request that seems perfect for the awesomeness that is GSAP! A zoomTo feature like the one provided by these guys would be fantastic. http://janne.aukia.com/zoomooz/ * Especially since the GSAP out benchmarks all of the other animations out there, and this would allow us devs to build out Prezi like experiences easily. Thanks! Jim
  2. This is exactly what I was looking for! Thanks Carl!
  3. Hi, I have a timeline I am building with GSAP JS that has several sequenced tweens. When building the tweens, I would like to set the duration of each of those tweens based on an overall ease. My question is this: If I have 10 tweens, and I want the duration of each of those tweens to be the result of a Strong.easeOut tween, Is there a method or way to get 10 values from a 10 second tween where I can get an array back of the values for each second of that tween? Ex: getPointsFromTo(count:number,duration:number,from:number,to:number, ease:Strong.easeOut):Array:Numbers var points_array = getPointsFromTo(10,10,0,1,ease:Strong.easeOut); // points_array might be (did not do the math) [0,.1,.2,.4.,6.,8.,87,.92,.98,1] // In this way, I could then use the points_array items as multiplier against duration number as follows: var duration = 5; var timeline = new TimelineMax(); for(var i = 0;i<point.array.length;i++){ timeline.add(TweenLite.to(t, (duration * point_array[i]), {alpha:0}); }; Does this capability already exist, or is there a way to do this? Thanks, Jim
  4. Thanks guys for your prompt feedback! This code that Jack posted should fit the bill.
  5. Hi, Is there currently a way to get the time an tween/timeline starts relative to a timeline the tween/timeline is nested inside of? For example: Consider a tween nested within timelines as represented by the following xml: <timeline id="a" start="3"> <timeline id="a1" start="4"> <tween id="a1a" start = "2" duration="4"/> </timeline> </timeline> It would be useful to know the time with regards to "a" that "a1a" starts (or ends). Thanks, Jim
×
×
  • Create New...