Jump to content
Search Community

atran

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by atran

  1. Hi,

     

    I have a question regarding stagger and the total duration of the animation. This is a screenshot from a video from Carl where he visualises the animation using stagger 

     

    gsap.to('.star', {stagger: 1, duration: 3});

     

    According to the visualisation, the total duration for the animation of three stars is 3 seconds. But I tried this on CodePen and the output of the animation.duration() is 5 seconds which makes sense:

    0 - 3

    1 - 4

    2 - 5

     

    So wonder how he could achieve the total of 3 seconds with this ? gsap.to('.star', {stagger: 1, duration: 3});

    image.thumb.png.8db8d5823a4161583af703ad53dfadc0.png

×
×
  • Create New...