The Framer Motion Scroll Animation Masterclass

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

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

  • @akarshsrivastav2696
    @akarshsrivastav2696 Месяц назад +3

    life is not what it used to be 10min before

  • @Solo_playz
    @Solo_playz 6 месяцев назад +17

    That's the perfect explanation for
    ["start end", "end start"]
    Thanks man 👍🏼

    • @tomisloading
      @tomisloading  6 месяцев назад +3

      It’s a confusing one haha, happy I can help :)

  • @nanonkay5669
    @nanonkay5669 6 месяцев назад +7

    I am creating a portfolio site that has been using all of this stuff lately, its 99% scroll effects. Unfortunately, I had to learn this the hard way lol. Had I known this video was coming, I would have definitely waited

  • @nemila4904
    @nemila4904 27 дней назад +1

    first time being the thousandth like 🎉 gg great video

  • @MdRifatAhmedMohammadNaiem
    @MdRifatAhmedMohammadNaiem 6 месяцев назад +2

    Make more of this kind of more... I think you are USP is framer motion, so keep making video on it

  • @gadoosher
    @gadoosher 6 месяцев назад +2

    Tom, I just have to tell you how much I LOVE your work and channel. No bs you make me want to be a better programmer and your videos are going to make that happen. Thank YOU! 🙏🏼

  • @essenc3189
    @essenc3189 3 месяца назад +1

    dude, u are brilliant ! i am hugh fan of framer motion, and thanks for your content

  • @AntonioBrandao
    @AntonioBrandao 3 месяца назад

    4:00 how do you have scroll length for all that y progress if all you have in the DOM is a short fixed rectangle?

  • @jonny555333
    @jonny555333 6 месяцев назад +1

    How has your experience with this been on mobile? I find that it's pretty stuttery on mobile.

    • @tomisloading
      @tomisloading  6 месяцев назад +1

      Most performance issues I run into are more due to applying complex transforms with x/y etc instead of the actual transform property (which can be hardware accelerated, the short hands can not).
      On mobile, older slower devices are always going to be an issue if you have a LOT of animations. Newer devices I don’t run into much issue with. Can opt to not run animations on those devices

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

      @@tomisloading How do you personally opt out devices?

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

      @@tomisloading I realized some of the stuttering came from having a button with lots of box shadows which the browser has trouble animating.

  • @aikoooow
    @aikoooow 5 месяцев назад

    Hey, Tom,
    Im really into framer motion. The only issue i found is that when checking the website on mobile, it's laggy and bad compared to on a desktop browser. any tips to improve performance?

  • @Rico-cp4xp
    @Rico-cp4xp 6 месяцев назад +2

    Found your channel a few days ago and I've been binge watching your stuff. Great content man!

  • @immdipu
    @immdipu 6 месяцев назад +3

    Love your videos. No nonsense talk just talking about the topic.

    • @tomisloading
      @tomisloading  6 месяцев назад +1

      Thank you!! Trying to keep them more concise :)

  • @collinsk8754
    @collinsk8754 6 месяцев назад +2

    Precise and on-point, as always! 🔥🔥

  • @tamaniphiri
    @tamaniphiri 6 месяцев назад +2

    Yes🚀🔥❤ just the masterclass I've been waiting for

  • @marcorosenbaum9900
    @marcorosenbaum9900 2 месяца назад +1

    man, thanks, helped a lot, please keep doing those videos

  • @dev_guidance
    @dev_guidance 6 месяцев назад +1

    sir please make more videos like this

  • @7A7z
    @7A7z 2 месяца назад

    im having some issues with the animations flickring

  • @hubesh716
    @hubesh716 6 месяцев назад +1

    sir please can you do this also for react native please

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

      I’ve thought about that, I do have a fair bit of RN experience, so might dabble with it sooner or later. In the short term though, definitely check out William Candillon’s videos for react native animation stuff :)

    • @hubesh716
      @hubesh716 6 месяцев назад +1

      @@tomisloading yes i know him but i am looking towards you thanks for suggestion i hope you record projects or some stuff for react native in coming days thanks again

  • @siligarocraft
    @siligarocraft 5 месяцев назад +1

    i like your pacing, will come back for sure

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

    It is usebable to make om scroll highlights link?

  • @djikstra
    @djikstra 5 месяцев назад +1

    Absolutely phenomenal explanations ! 😃

  • @tamerahmed9860
    @tamerahmed9860 6 месяцев назад +1

    Wonderful tutorial! Thank you 🙏

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

    hello tom in your website do you have a section where you compile all your free stuff ? . im broke for now cant buy the whole examples . i binge watching your framer motion videos . anyway thank you for this video !

  • @sohrabkhan101
    @sohrabkhan101 6 месяцев назад +1

    Thank you for creating this. Please also explain useTime, useWillChange, useAnimationFrame and what is the use of useVelocity?

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

      Sure, I can make a video on those!

    • @sohrabkhan101
      @sohrabkhan101 6 месяцев назад +1

      @@tomisloading thank you really wouldlove to watch

  • @vinit9598
    @vinit9598 10 дней назад

    How do you put that background

  • @zhxnrs
    @zhxnrs 5 месяцев назад +1

    amazing stuff, thank you!

  • @PrMovies0
    @PrMovies0 6 месяцев назад +2

    Currently thre Framer-Motion not working with NextJs Why ? 😢 I'm getting error

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

      What kind of error? Can you show us? It's working fine here

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

      @@Forsvinne77
      eval
      (rsc)
      ode_modules\framer-motion\dist\es\context\MotionConfigContext.mjs (6:41)
      (rsc)/./node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
      file:///D:/codding/nextpractice/.next/server/vendor-chunks/framer-motion.js (310:1)
      __webpack_require__
      file:///D:/codding/nextpractice/.next/server/webpack-runtime.js (33:42)
      eval
      webpack-internal:///(rsc)/./node_modules/framer-motion/dist/es/motion/index.mjs (6:90)
      (rsc)/./node_modules/framer-motion/dist/es/motion/index.mjs
      file:///D:/codding/nextpractice/.next/server/vendor-chunks/framer-motion.js (790:1)
      __webpack_require__
      file:///D:/codding/nextpractice/.next/server/webpack-runtime.js (33:42)
      eval
      webpack-internal:///(rsc)/./node_modules/framer-motion/dist/es/render/dom/motion.mjs (6:75)
      (rsc)/./node_modules/framer-motion/dist/es/render/dom/motion.mjs
      file:///D:/codding/nextpractice/.next/server/vendor-chunks/framer-motion.js (1110:1)
      __webpack_require__
      file:///D:/codding/nextpractice/.next/server/webpack-runtime.js (33:42)
      eval
      webpack-internal:///(rsc)/./src/app/page.tsx (8:71)
      (rsc)/./src/app/page.tsx
      file:///D:/codding/nextpractice/.next/server/app/page.js (162:1)
      Function.__webpack_require__
      file:///D:/codding/nextpractice/.next/server/webpack-runtime.js (33:42)
      async eB
      file:///D:/codding/nextpractice/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js (35:401143)
      async tt
      file:///D:/codding/nextpractice/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js (35:404857)
      async tr
      file:///D:/codding/nextpractice/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js (35:405407)
      async tr
      file:///D:/codding/nextpractice/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js (35:405538)
      async tl
      file:///D:/codding/nextpractice/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js (36:2057)
      async
      file:///D:/codding/nextpractice/node_modules/next/dist/compiled/next-server/app-page.runtime.dev.js (36:2596)

    • @prajil_
      @prajil_ 6 месяцев назад +1

      Try "use client"

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

      @@prajil_ thanks 🥺

  • @olujobifolaranmi2133
    @olujobifolaranmi2133 6 месяцев назад +2

    Thank you man for this.

  • @Ari-pq4db
    @Ari-pq4db 4 месяца назад +1

    Thank you , keep it up

  • @deathdefier45
    @deathdefier45 5 месяцев назад +1

    Absolute legend

  • @Forsvinne77
    @Forsvinne77 6 месяцев назад +1

    Nice stuff, keep it up!!

  • @safkatsadli1374
    @safkatsadli1374 6 месяцев назад +2

    This is what i need most right now

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

      Heck yea, happy I can help!! :)

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

      @@tomisloading your playlist is full of awesome things, all in one place. I wonder if i implement all the things in my frontend project I'm sure I'll crack a good job.

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

    Wouldn't using the `style` with passed in motion values for useScroll opt out the component from using hardware acceleration?

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

      Just had a different response, but realized I was wrong haha. You are correct (I actually didn't know this!), but motion values passed to the style prop do not support hardware acceleration.
      That said, for examples like what I showed, I wouldn't worry about it. Docs agree, pulled this from the hardware acceleration section under using transform vs individual transforms -> "it is recommended to normally use independent transforms for readability and flexibility, using transform directly only in situations where you really need the accelerated animations"

  • @dukeselwood
    @dukeselwood 6 месяцев назад +1

    Excellent, thanks!

  • @bradleyandrewercole6349
    @bradleyandrewercole6349 6 месяцев назад +1

    Thanks man for everything , gonna buy hover pro for sure to appreciate your dedication and work

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

    Animations make website slower 🦥