Expression: amp = .1; freq = 2.0; decay = 5.0; n = 0; time_max = 4; if (numKeys > 0){ n = nearestKey(time).index; if (key(n).time > time){ n--; }} if (n == 0){ t = 0; }else{ t = time - key(n).time; } if (n > 0 && t < time_max){ v = velocityAtTime(key(n).time - thisComp.frameDuration/10); value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t); }else{value}
I used your expression (thank you!) but it's not bouncy like yours. There is something wrong. Can you tell me what part of the above expression creates the 'bounce'? Thanks so much in advance!
@@SmertimbaGraphics I did a little more research and found it didn't bounce because I easy-eased BOTH keyframes and I needed to only easy-ease the first keyframe. :) Thanks so much!
You should do a video on how to appropriately deliver tutorials. This is one of the most informative and efficient channels on the platform. You deserve a lot more attention. The fact that you only have 21K subscribers is a crime. I tell everyone I know about you.
This is very interesting and very inspiring.. Thanks for the expression codes it's very helpful just like the tutorial. And am sure gonna replicate this in my own style in my future tutorials on my channel.. Thanks for always being an inspiration 🌹
Just a funny note, if you decrease decay, the bounces will last longer. If you decrease frecuency, it will also affect the way the bounce behaves with Y (like you were playing pinball). If you are struggling like me as a newbie, don´t forget to locate the positions as close as you can, oherwise the expression will make the animation last an eternity....
Expression:
amp = .1;
freq = 2.0;
decay = 5.0;
n = 0;
time_max = 4;
if (numKeys > 0){
n = nearestKey(time).index;
if (key(n).time > time){
n--;
}}
if (n == 0){ t = 0;
}else{
t = time - key(n).time;
}
if (n > 0 && t < time_max){
v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{value}
Everywhere i look, there's always something related to maths! 🤦
Does this Expression make everything bouncy ??
I used your expression (thank you!) but it's not bouncy like yours. There is something wrong. Can you tell me what part of the above expression creates the 'bounce'? Thanks so much in advance!
What's the distance between the keyframes?
@@SmertimbaGraphics I did a little more research and found it didn't bounce because I easy-eased BOTH keyframes and I needed to only easy-ease the first keyframe. :) Thanks so much!
This is the most helpful channel on UA-cam👍❤
Thank you, so happy to hear that 😊❤
You should do a video on how to appropriately deliver tutorials. This is one of the most informative and efficient channels on the platform. You deserve a lot more attention. The fact that you only have 21K subscribers is a crime. I tell everyone I know about you.
I am flattered, thank you very much for the kinds words❤😁
This is very interesting and very inspiring..
Thanks for the expression codes it's very helpful just like the tutorial.
And am sure gonna replicate this in my own style in my future tutorials on my channel..
Thanks for always being an inspiration 🌹
Always a pleasure, good luck ❤️
Hello! Great channel and thanks for all the effort you've put into these tutorials! Very helpfull! Ease out and cheers! ;)
Thanks mate, I appreciate it✌️
Just a funny note, if you decrease decay, the bounces will last longer. If you decrease frecuency, it will also affect the way the bounce behaves with Y (like you were playing pinball). If you are struggling like me as a newbie, don´t forget to locate the positions as close as you can, oherwise the expression will make the animation last an eternity....
very nice job thanks
Most welcome
💖
💖
спасибо братишка за уроки, привет из россии 💗
Всегда пожалуйста
бро, тоже нашёл лучший канал туториалов во всём ютубе?
,,👍👍👍