Jump to content
Search Community

ConradBastian

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by ConradBastian

  1. 8 hours ago, GreenSock said:

     

    Is this what you're looking for? 

     

     

    WOW! Yes! This is exactly what I'm looking for! Amazing!

    I will test some GSAP options on codepen and definitely buy Shockingly Green Membership.

     

    @mikel Thank you for your answer, it's also nice, but Jack's solution fits better to my need

     

    • Like 3
  2. Ok sorry, I thought GSAP can add random small curve by adding " curviness"  in random direction. Sorry.

    Ok let's say I have SVG path between 2 elements. But when I resize window vertically the distance between elements changes, so the path isn't working properply anymore like in my Pen in the first post. How I can a make this scalable to the screen (viewport) size?

     

     

    edit: nevermind

    How to just animate between 2 elements. I know how to do that via JS, but im asking if GSAP has native function to do that (I believe it has)

  3. Thanks for quick response. 

    Quote

    Is there some other point through which you want the curve to animate? 

    First - I'd like to achieve an effect of animating between elements with no additional point, curve.

     

    Then I'd like to know if it's possible to add a curve when animating between elements.

  4. Is it possible to animate position of an element from element-a position to element-b position only by passing their ID into GSAP? I pass element ID's and GSAP do the calculation and animate it.

    For example

     

    motionPath:{
        path: [{#element-a}, {#element-b}],
        curviness: 1
      }

     


     

×
×
  • Create New...