Jump to content
Search Community

Richard Lindsay

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Richard Lindsay

  1. Hi everyone,

     

    I am trying to create a circular progress bar and have everything working except the timing.

     

    As you can see, the first semi circle finishes its transform and then the second begins but I need them to be fluid so that there is no pause.

     

    The second one might never complete an entire 180 so I need to calculate and split the time proportionally between both tweens.

     

    Any help would be great. Thank you for your time.

     

    Richard

    See the Pen xxdNbqd by richard_lindsay (@richard_lindsay) on CodePen

  2. Hi folks,

     

    I'm trying to use ScrollMagic's pin feature to animate the fills of an SVG.

     

    I want the section in the pen to be the height of the SVG and when the middle of the section reaches the middle of the viewport, the animation should start happening. However, I don't want the space below the SVG. I want to be able to see the wheat header and footer tight to the section and for the page to animate without scrolling. When the animation is finished scrolling should resume.

     

    Adding pin creates the space for the animation to happen but pushes the footer down the page. Adding pushFollowers: false doesn't work either as the animation moves past the footer.

     

    I hope I've explained myself.

     

    Thanks for your time.

    See the Pen OJWebbX by richard_lindsay (@richard_lindsay) on CodePen

×
×
  • Create New...