Animate Along SVG Path using GSAP MotionPathPlugin

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 21

  • @justus4711
    @justus4711 ปีที่แล้ว +2

    Dude. You are the man!!! Always wondered how to do this and I've never found anything helpful. Thank you!

    • @webbae
      @webbae  ปีที่แล้ว

      Glad you liked it 💯

  • @bhukyadayakar8782
    @bhukyadayakar8782 ปีที่แล้ว +2

    Woah thanks man for the tutorial. Next Topic Flip Plugin, the most used Plugin after the scroll trigger Plugin.

    • @webbae
      @webbae  ปีที่แล้ว

      I've done one on FLIP th-cam.com/video/kW7GPzWyXlE/w-d-xo.html but it's another awesome plugin I'd love to do more content on. Glad you liked this one!

  • @kudz
    @kudz ปีที่แล้ว +2

    Thanks for the tutorial!
    I noticed you placed the embeds in the head tag, won't that slow the site down compared to inserting them in the body?

    • @webbae
      @webbae  ปีที่แล้ว +1

      Good eye - this actually speeds up page load :). By adding the defer attribute, the browser is able to download the scripts WHILE parsing the HTML, but does not execute them until DOMContentLoaded fires. When you put the script in the "before section" you don't give the browser a chance to download the script file until it has already completed parsing the HTML. Some decent visuals here: unused-css.com/blog/how-javascripts-async-and-defer-tags-let-you-load-pages-faster/

    • @webbae
      @webbae  ปีที่แล้ว +1

      Hope that helps and great question - I always wonder if that will trip people up as we are so used to putting scripts in the body section!

    • @webbae
      @webbae  ปีที่แล้ว +1

      Also note it's only for scripts with a src attribute. As such you have to be careful about how you load scripts!

    • @kudz
      @kudz ปีที่แล้ว +1

      ​@@webbae Thanks for explaining this! I really enjoyed the link to the article talking about async and defer scripts.
      Please keep coming out with more good content!😁😁

  • @rtleary2
    @rtleary2 ปีที่แล้ว +2

    Always wanted to know how to do this!

    • @webbae
      @webbae  ปีที่แล้ว

      got chu bro

  • @mattbegnoche2081
    @mattbegnoche2081 ปีที่แล้ว +1

    Awesome! Keep up the great work !

    • @webbae
      @webbae  ปีที่แล้ว

      Thanks Matt will do!

  • @juice7371
    @juice7371 ปีที่แล้ว +1

    can you make this a scroll interaction? and is so how would you apply the code?

    • @webbae
      @webbae  ปีที่แล้ว +1

      yes you can. I'll see if I can make a video on that but in short you'll use ScrollTrigger to link it up. For now here's a code pen as an example: codepen.io/NickVanHolsbeeck/pen/jOyMNGO

    • @juice7371
      @juice7371 ปีที่แล้ว +1

      @@webbae your the man thanks mate

    • @webbae
      @webbae  ปีที่แล้ว

      @@juice7371 Got the Juice

  • @builtbydima
    @builtbydima ปีที่แล้ว +1

    Awesome tutorial, thanks man!

  • @jsphbngrnd8847
    @jsphbngrnd8847 ปีที่แล้ว +1

    👌

  • @heatherliu6856
    @heatherliu6856 ปีที่แล้ว +1

    Strava needs this!!! Go sell it to them #stravapartner

    • @webbae
      @webbae  ปีที่แล้ว +1

      THEY LIKED THE TWEET