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.
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 :(
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!
Wow, it's nice to see a person behind who always makes great tutorials for us! Thank you for this; this will help.
Man you post the best tutorials
Man, thank you so much!! ☀️
Madness! Thanks!
Another usefull tip! Thanks a lot!
Thanks 😊
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.
Thank you so much! Haa its the script Labels v4, from Ae Script! love it, much easier to keep things tidy!
@@MasdLab damn. I thought you'd cracked the AE color palette conundrum lolol
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 :(
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!