Stop Keyframing-Try This Expression Now!

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

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

  • @Mavellyrical
    @Mavellyrical Месяц назад

    Wow, it's nice to see a person behind who always makes great tutorials for us! Thank you for this; this will help.

  • @bharat5194
    @bharat5194 Месяц назад +1

    Man you post the best tutorials

    • @MasdLab
      @MasdLab  Месяц назад

      Man, thank you so much!! ☀️

  • @jozef_s
    @jozef_s Месяц назад

    Madness! Thanks!

  • @iamslymn
    @iamslymn Месяц назад

    Another usefull tip! Thanks a lot!

  • @mikejohnson5756
    @mikejohnson5756 Месяц назад

    Thanks 😊

  • @bigfriendlyjohn
    @bigfriendlyjohn Месяц назад

    LOVE! these quick tip tutorials. Keep them up they're really fantastic.
    Random question: What are you using for your color palette in the bottom left corner of your screen? I've been looking for a plugin/script like that for a while now and not finding anything I like.

    • @MasdLab
      @MasdLab  Месяц назад +1

      Thank you so much! Haa its the script Labels v4, from Ae Script! love it, much easier to keep things tidy!

    • @bigfriendlyjohn
      @bigfriendlyjohn Месяц назад

      @@MasdLab damn. I thought you'd cracked the AE color palette conundrum lolol

  • @saleh_hamza5
    @saleh_hamza5 Месяц назад

    I am stuck in your channel for a couple of days and planning to watch everything here, but as a beginner in coding inside of After effects I really wish you could explain in depth the logic behind your methods I understand some of the variables but I didn't get the final line of code you wrote at the end "(time % duration) * (360 / duration) + (index - 1) * offsetAmount;"
    I already read the description but it wasn't in depth if you know what i mean :(

    • @MasdLab
      @MasdLab  Месяц назад

      Thank you so much for your words! I'm glad you are enjoying the content here :)
      I totally get where you’re coming from - that final line can definitely seem complex, especially if you're starting out with coding in After Effects.
      It combines modular math with rotation logic, so let’s break it down step-by-step to make it easier:
      (time % duration): This part keeps the animation looping every duration of seconds by resetting time to 0 each time it completes a cycle. The % (modulus) operator makes the time loop back instead of continuing indefinitely.
      * (360 / duration): Here, we’re taking that looped time value and turning it into a 360° rotation. So every time duration seconds pass, the animation completes a full rotation.
      + (index - 1) * offsetAmount: Finally, this bit gives each layer a unique starting angle based on its index. The offsetAmount controls the spacing between each layer’s rotation, so you can customize how staggered they appear.
      and that's pretty much it! Hope it helps?
      I need to make a series where I explain the logic, behind the expressions! because sometimes it quite hard to really understand the why!
      thanks for sticking around!