Javascript Scroll Animation Tutorial | GSAP and ScrollMagic Tutorial

Поделиться
HTML-код
  • Опубликовано: 6 авг 2024
  • Check out my courses and become more creative!
    developedbyed.com
    Javascript Scroll Animation Tutorial | GSAP and ScrollMagic Tutorial
    Today we are going to create a cool javascript scroll animation by creatng a paper plane flying on the screen.
    We are going to be using a few libraries, GSAP TweenLite will be used to take care of animating different properties of the image, bazier plugin will be used to create a path for the image to follow along. TimelineLite can be used to sequence together multiple animation and ScrollMagic will help us animate based on scroll.
    This video is made for people who are interested in learning to create javascript scroll animations.
    ❤Become a patreon for exclusive videos and more!
    / dev_ed
    Microphones I Use
    Audio-Technica AT2020 - geni.us/Re78 (Amazon)
    Deity V-Mic D3 Pro - geni.us/y0HjQbz (Amazon)
    BEHRINGER Audio Interface - geni.us/AcbCpd9 (Amazon)
    Camera Gear
    Fujifilm X-T3 - geni.us/7IM1 (Amazon)
    Fujinon XF18-55mmF2.8-4 - geni.us/sztaN (Amazon)
    PC Specs
    Kingston SQ500S37/480G 480GB - geni.us/s7HWm (Amazon)
    Gigabyte GeForce RTX 2070 - geni.us/uRw71gN (Amazon)
    AMD Ryzen 7 2700X - geni.us/NaBSC (Amazon)
    Corsair Vengeance LPX 16GB - geni.us/JDqK1KK (Amazon)
    ASRock B450M PRO4 - geni.us/YAtI (Amazon)
    DeepCool ATX Mid Tower - geni.us/U8xJY (Amazon)
    Dell Ultrasharp U2718Q 27-Inch 4K - geni.us/kXHE (Amazon)
    Dell Ultra Sharp LED-Lit Monitor 25 2k - geni.us/bilekX (Amazon)
    Logitech G305 - geni.us/PIjyn (Amazon)
    Logitech MX Keys Advanced - geni.us/YBsCVX0 (Amazon)
    DISCLAIMERS:
    I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.
    📔 Materials used in this video:
    Images in the video: www.dropbox.com/s/xtp0xrvij2y...
    GSAP:
    cdnjs.com/libraries/gsap
    Scrollmagic:
    cdnjs.com/libraries/ScrollMagic
    🛴 Follow me on:
    Twitter: / deved94
    Github: github.com/DevEdwin
    🎵 Music:
    Outro:
    LAKEY INSPIRED - Me 2 (Feat. Julian Avila)
    Music By: / lakeyinspired
    Intro:
    Dj Quads
    Track Name: "Every Morning"
    Music By: Dj Quads @ / aka-dj-quads
    Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0
    creativecommons.org/licenses/b...
  • НаукаНаука

Комментарии • 245

  • @notratulshariar
    @notratulshariar 5 лет назад +68

    hey i like your videos very much . I think you should have at least 1 million subs. Thank you for making this great videos bro.

    • @developedbyed
      @developedbyed  5 лет назад +16

      Wow that's a huge compliment ... Thank you very much! I am happy with 2k as well haha

    • @notratulshariar
      @notratulshariar 5 лет назад

      @@developedbyed well i am also happy with your videos .

    • @6MyK
      @6MyK 5 лет назад +3

      This man deserves more that all sponsored guys who carries just about getting likes and money. Here we can feel a real and authentic sympathy

    • @PS-le4mf
      @PS-le4mf 5 лет назад

      When I first saw this dude's videos I was like he's bound to make 6 figures one day if he keeps up with this!

    • @same_here8395
      @same_here8395 2 года назад +1

      @@developedbyed now you're on 767k. we're going for a million.

  • @developedbyed
    @developedbyed  5 лет назад +60

    Where is my VIP SQUAD?
    Hope you like the animations and other things I added in the video. I will try to up the production slowly :D

    • @kris10an64
      @kris10an64 5 лет назад

      Im here 😎

    • @trepke2849
      @trepke2849 5 лет назад +2

      Hi. I'm into 3D design lately and this is one the best scroll animation I've seen ever dogstudio.co/ can you PLEASE do a tutorial on how to animate while scrolling 3D objects? it can be any 3D object, PLEASE :)

    • @sagarjasani7622
      @sagarjasani7622 5 лет назад

      @@trepke2849 website looks freaking cool... any idea how to implement it?

    • @trepke2849
      @trepke2849 5 лет назад

      @@sagarjasani7622 no idea at all. I even tried to animate 3D motion and then do the video scroll effect - but it's not cool as this one....

    • @thesnjvsharma
      @thesnjvsharma 5 лет назад

      Really great tutorial, man! Saved me.

  • @joshbedo8291
    @joshbedo8291 3 года назад +44

    Would love an updated tutorial with GSAP 3 since it's entirely different and way more confusing.

  • @psykoonthestreet8640
    @psykoonthestreet8640 5 лет назад +2

    So good. Another great vid! This was insanely fun to work on. Keep up the great work!

  • @ericwong8845
    @ericwong8845 5 лет назад +6

    Hi, Ed, you're the master of web animation. Your tutorial is great! Thanks.

  • @matthenley6704
    @matthenley6704 5 лет назад +1

    Your videos are fantastic! Thank you for the time you time you put into them!

  • @michelezucca5819
    @michelezucca5819 4 года назад

    Another great tutorial, I really like the way you experiment with animations!!!

  • @emilkowalski_
    @emilkowalski_ 5 лет назад +5

    Love how positive you are! More animation tutorials please! :))

  • @carlperl412
    @carlperl412 4 года назад

    OMG this is the first video of your that I see and I'm tuned with your channel.
    Thanks!!

  • @emaaadelgado
    @emaaadelgado 4 года назад +1

    Love it! Great job, great tutorial! keep going bro! Greetings from Argentina!

  • @6MyK
    @6MyK 5 лет назад +4

    Just another cool and well explained video ! Little channel but big man ! Thanks for sharing your knowledge. Give that man a beer ! Merci beaucoup ;)

  • @AshtheCreator
    @AshtheCreator Год назад

    been searching for a video on this type of thing. thanks for the help. love the vids

  • @mayur9876
    @mayur9876 5 лет назад +4

    Amazing content as always.

  • @LastVoyage
    @LastVoyage 5 лет назад +1

    favorite dev channel by far.

  • @Britelife50
    @Britelife50 4 года назад

    you are great at translating hefty javascript coding(at least for this creative director!) into a creative exercise. thank you!

  • @akankshabhagat186
    @akankshabhagat186 3 года назад

    your amazing bro.. youve helped me a lot ,my teachers dont teach me that well .So happy i found your channel

  • @AltafHussainPatel
    @AltafHussainPatel 5 лет назад

    Searching bezeir from last 5 days and finally i found out your video .... Thanks for sharing great explanation

  • @eddielacrosse2
    @eddielacrosse2 3 года назад

    Thanks for the Tutorial Man! Just want I needed

  • @dmitriyoktyabrskiy9073
    @dmitriyoktyabrskiy9073 5 лет назад +10

    Jesus! You’re unstoppable, dude :)
    Keep going

  • @brunosousa3057
    @brunosousa3057 4 года назад

    Good job man. Thanks for making this vids for begginers like me. Cheers from Lisbon

  • @sunrisepicturesent6615
    @sunrisepicturesent6615 4 года назад +1

    wow thanks a lot Ed this video really helps

  • @Pietruszkaaa123
    @Pietruszkaaa123 5 лет назад +2

    my new favourite tutorials on youtube !!!

  • @radhagarcia7729
    @radhagarcia7729 3 года назад

    Amazing viideoooo, THANK YOUUUU
    !

  • @alexhunter4800
    @alexhunter4800 3 года назад

    AAAAaaaAA thank you man! It was so helpful for my project!

  • @stevesmith0624
    @stevesmith0624 6 месяцев назад

    this was a great tutorial, thanks alot

  • @serpianrex
    @serpianrex 3 года назад +1

    great video, thanks a lot!

  • @user-qx7yn4sw2x
    @user-qx7yn4sw2x 10 месяцев назад

    Thank you very much for this tutorial!

  • @nerd254
    @nerd254 5 лет назад +1

    you just brought comedy to the geek zone..love it

  • @sivakrishna6682
    @sivakrishna6682 4 года назад

    You earned a sub at first sight!

  • @sofiachaves2575
    @sofiachaves2575 4 года назад

    This is everything 😍

  • @lucaszapico926
    @lucaszapico926 4 года назад

    Thanks for the video! Cheers! 🍻

  • @przemysawkowalczyk3049
    @przemysawkowalczyk3049 3 года назад

    Ive just implement your animation to my bootcamp project DevEd! :D Thank you very much bro :) Also ive just su you chanell :D

  • @pratikkumar939
    @pratikkumar939 3 года назад

    U just earned a subscription dude. Good work

  • @abhishekva449
    @abhishekva449 4 года назад

    Awesome man

  • @kkizto
    @kkizto 3 года назад

    thank you very much for this tutorial. very helpful

  • @adrigarco1
    @adrigarco1 4 года назад

    It´s great, thanks!!!

  • @tima1301
    @tima1301 5 лет назад

    Nice! Thank you

  • @DhirajKumar-oo3sn
    @DhirajKumar-oo3sn 4 года назад

    Fantabulous videos!

  • @maxxmusixx
    @maxxmusixx 2 года назад

    klicked like after 5 seconds because you're presenting with such a nice vibe :))

  • @paipure
    @paipure 4 года назад

    Thank you! you're the best

  • @kalokohanbiga8592
    @kalokohanbiga8592 Год назад

    What a great video.
    im learning alot

  • @Fkamynk
    @Fkamynk 2 года назад

    this made my heart happy 😄

  • @themarin1992
    @themarin1992 2 года назад

    this is great, thx man!:)

  • @radanmitasik8793
    @radanmitasik8793 5 лет назад +1

    i really i appreciate your work and effort am sure you are helping to many .. :-)

  • @doncampan
    @doncampan 3 года назад

    terrific energy

  • @carlukiio
    @carlukiio 4 года назад

    Very nice, thanks

  • @maddiandsushi
    @maddiandsushi 4 года назад +1

    Thank you sooo much you're such a life saver!!! 💖💖💖

  • @zilesingh692
    @zilesingh692 4 года назад

    Nice video. Thanks

  • @luiscantero4791
    @luiscantero4791 5 лет назад

    Thanks a lot!

  • @yuting386
    @yuting386 2 года назад

    thank you!

  • @ks-op8pe
    @ks-op8pe 5 лет назад

    thank you so much!

  • @ed1849x
    @ed1849x 3 года назад

    THANKS!

  • @FineAsDesign1
    @FineAsDesign1 5 лет назад

    great vid

  • @a71829773
    @a71829773 3 года назад

    i really love your videos.. awesome

  • @trustlang_ua
    @trustlang_ua 4 года назад +1

    дякувати богу що я знайшов цей канал)

  • @soyeonkim5228
    @soyeonkim5228 4 года назад

    this video is awesome

  • @davidvideauortega287
    @davidvideauortega287 5 лет назад

    Man, your videos are great! This is some quality content. I'm glad I found your channel and I could subscribe to it! :D
    Also, I would like to make a suggestion \ ask for two topics I'm really interested in and you could do on some future videos if you haven't yet:
    1. Responsive megaMenu: most of the megamenus out there look super bad on mobile devices (except for those you have to pay for, like Jet Megamenu Plugin) or they are not responsive at all. I haven´t watched any good tutorial about this specific topic here on youtube.
    2. Responsive and touch enabled slider / carousel.
    Well, those videos would be helpful. Besides that and again, thanks for the great content you're putting out. I really really like this channel, probably one of the bests in existence for front-end web developers right now.

  • @ervinazika3828
    @ervinazika3828 4 года назад

    omg you are fantastic

  • @_iamoracle
    @_iamoracle 5 лет назад +9

    I used to be sick of CSS, this guy made me fell in love. Am now a guru!!!

  • @KingSambukaGaming
    @KingSambukaGaming 5 лет назад

    Thanks man Great tutorial GG EZ!!! Haha

  • @ahmedshaheen4304
    @ahmedshaheen4304 4 года назад

    hey, I like your videos very much Thank you for making this great videos bro. 👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏

  • @chip_a
    @chip_a 2 года назад

    Supper. thanks. More lessons with gsap 3 )))

  • @snorlan4704
    @snorlan4704 5 лет назад

    Hello DevEd I am a student in his final year creating my portfolio website. I used you’re tutorial for the typing animation and I love it! I am struggling with creating a full screen scroll for my website and would much appreciated a tutorial on it!
    Thank you for the great content!

    • @developedbyed
      @developedbyed  5 лет назад

      Have it on my list! Will be coming up in the next few weeks!

  • @hemantjadhav7833
    @hemantjadhav7833 3 года назад

    nice

  • @pierodatta3494
    @pierodatta3494 4 года назад +1

    Hi! Firsti of all thank you so much for this tutorial, it was very usefull to me! Secondly I would like to ask you if there is any possibility to change the image style like the opacity, at the same time while scrolling

  • @sia4281
    @sia4281 2 года назад

    Здорово!

  • @FineAsDesign1
    @FineAsDesign1 5 лет назад +1

    Do you know if it's possible to use percentages in the X & Y values? To optimize it a little

  • @tvrdosinSR
    @tvrdosinSR 2 года назад

    style I downloaded the demo to soft soft yesterday, and I'm going to learn from you to make my own stuff, and I wanted to leave tNice tutorials

  • @williamwalker4494
    @williamwalker4494 4 года назад

    Don't know why but i got and error message and the scrolling would not work, until i put the gsap script first (including gsap plugins), followed by ScrollMagic.min.js and then the ScrollMagic plugins! All is now golden. Thanks Ed for sharing your knowledge.

  • @GlennPhilp
    @GlennPhilp 4 года назад

    Great tutorial. Any pros/cons to using ScrollMagic versus Animate on Scroll (AOS)? I feel like AOS is lighter and as equally customizable without all the bloat. Your thoughts?

  • @nerosonic
    @nerosonic 4 года назад +3

    thanks for the tutorial! btw, you might need to update the video to work for GSAP 3! :)

  • @johanwestin9236
    @johanwestin9236 4 года назад

    Awesome vid bud! I can't get this to work with gsap 3 tho :(

  • @Iconejey
    @Iconejey 3 года назад

    I love you.

  • @jesvirsubang6725
    @jesvirsubang6725 4 года назад

    Hi there sir ed .. i love your channel.. does your bundle course is still available by the end of may?

  • @vishalmule9829
    @vishalmule9829 5 лет назад

    Brother your rock star. but make more videos. Means GSAP other 2 animation type in details. thanks you for making this type of video.

  • @siamonadi7997
    @siamonadi7997 5 лет назад +1

    very nice tutorial
    the only thing is that the duration in your scrollmagic object is not about time,
    it defines the distance between the start and end of the element
    set it to 100% and it will start at the beginning and finish at the end
    sorry for bad explanation, just test it and you will figure it out
    i have a question
    after the animation ends we still need to scroll through our section, how can we get it ends at the same time with our animation?

  • @Vemovemo1
    @Vemovemo1 4 года назад +22

    Are you planning to create a ScrollMagic and GSAP 3 ( it´s more amazing ) tutorial?

  • @feika3543
    @feika3543 Год назад

    thanks for ur sharing video…
    u make scrolling animation easlier… 👍

  • @varungupta7184
    @varungupta7184 4 года назад

    superly done video! Does Bezier take co-ordinates for an absolute element relative to it's parent? Been trying % based values and it's throwing errors.

  • @webmarketing1252
    @webmarketing1252 5 лет назад

    Great video! For you what is the best way to disable this on mobile for example?, i mean, not execute script. Thank you!

  • @TheSinaNouri
    @TheSinaNouri 4 года назад

    hello, ty dude, i needed this video
    and this trigger text waana be show to everyone ?

  • @yumyum9597
    @yumyum9597 5 лет назад

    hello! vh is relative? and how can i relate vh and px? In my project, i use px for photo's width and height.

  • @0xmrwzrd
    @0xmrwzrd 4 года назад

    Hi Ed Quick question,
    I had to add the document.addEventListener("DOMContentLoaded", function(event) {}) function and add the code inside that for it to work...why does yours work without it?

  • @MasBagz
    @MasBagz 4 года назад

    Hi Dev...thank you so much for your Tuts. I'm beginner .... is there any maximum limitation to add JS ..as far I know it will slowing down our page to load ?

  • @laurapaulino1710
    @laurapaulino1710 4 года назад +2

    Hi, can you update the libraries? They are deprecated. Of course I'm trying to update myself but I keep getting errors I don't understand. Thank you for all of your tutorials!

  • @amiralies5436
    @amiralies5436 4 года назад

    iam iranian .... very nice

  • @YashGupta-zj2ju
    @YashGupta-zj2ju 4 года назад +1

    hey i tried this program it is saying timelinelite is not defined ....please help bro what to d?

  • @akilahapuarachchi
    @akilahapuarachchi 5 лет назад

    Nice tutorial. But I got a problem with plugging "Cannot read property 'length' of undefined with BezierPlugin.min.js:12 " .What's the error?

  • @JH-gh9lo
    @JH-gh9lo 4 года назад

    Is there a way to get rid of the empty 100vh portion of animation section after plane goes out of sight?

  • @Yohoyboy
    @Yohoyboy 4 года назад +1

    can you do this with just vanilla js?
    this is my first coding question, just started a few weeks ago. Correction my first online question post.

  • @ahmedsalhi
    @ahmedsalhi 3 года назад

    Nice work 👍
    Is it possible to do the same thing without libraries GSAP and ScrollMagic
    just CSS + Js

  • @joelambon2791
    @joelambon2791 Год назад +1

    Hey @developedbyed, Please could you do a 2022 updated version of this? TweenLite, CSSPlugin & BezierPlugin don't exitst in latest version of gsap library!!

  • @Simone-ft2cg
    @Simone-ft2cg 5 лет назад +1

    You're very good! Can you make a video on this function using a 3D model?

  • @8505angel
    @8505angel 5 лет назад

    great video! what do you use for Live-Server in VSC?

    • @tukya55
      @tukya55 5 лет назад +1

      Probably the "Live Server" Plugin wich you can find in the "Extensions" area (squared icon on the left) :-)

  • @kastannie9045
    @kastannie9045 2 года назад +1

    How de I make the triggers text invisible?

  • @heinrichcornelis7481
    @heinrichcornelis7481 4 года назад +1

    Hi great video but, I have a question how could you remove the trigger, end and start text on the right side?

  • @thequickcode5144
    @thequickcode5144 Год назад

    Hi Ed I need help on trigger Elements what if i have multiple elements inside .animation section and i want to create one scene but to all triggerElememts

  • @jnaz602
    @jnaz602 5 лет назад

    I liked because of that pun

  • @ojosh1h
    @ojosh1h 4 года назад

    awesome tut! now anybody have a tut to add animation to multiple paper airplanes?

  • @ghummandilshad5705
    @ghummandilshad5705 3 года назад

    Hello
    Where you getting the gasap plugins CDN.
    TimeLineMAX etc