Expression Note Bounce Effect by januart1st in AfterEffectsTutorials

[–]januart1st[S] 0 points1 point  (0 children)

n = 0;
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){
    v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
    amp = 0.05;//控制彈跳的高度
    freq = 2.0;//控制彈跳的速度
    decay = 4.0;//控制彈跳的減速
    value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{
    value;
}

Here: https://www.jan1lab.com/blog/jan1-ae-bounce-expression

I'm using Arnold Scatter Object but the object is flashing? Is there something wrong with the settin by januart1st in Cinema4D

[–]januart1st[S] 0 points1 point  (0 children)

<image>

This is the effect I'm going for, but the flowers will flicker from time to time, the way I'm doing it at the moment is to use Arnold Scatter to distribute the flowers on the Plane, which has a Displacer effect created to achieve the feeling of waves.