Stop Keyframing-Try This Expression Now!

Поділитися
Вставка
  • Опубліковано 12 гру 2024

КОМЕНТАРІ • 11

  • @jozef_s
    @jozef_s 28 днів тому

    Madness! Thanks!

  • @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.

  • @iamslymn
    @iamslymn Місяць тому

    Another usefull tip! Thanks a lot!

  • @mikejohnson5756
    @mikejohnson5756 Місяць тому

    Thanks 😊

  • @bharat5194
    @bharat5194 Місяць тому +1

    Man you post the best tutorials

    • @MasdLab
      @MasdLab  Місяць тому

      Man, thank you so much!! ☀️

  • @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 29 днів тому

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

  • @saleh_hamza5
    @saleh_hamza5 29 днів тому

    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  29 днів тому

      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!