banner image
banner image

After Effect Expression

After Effect Expression 


After Effect Expression
After Effect Expression 

Most of the time we need to use after effect expression to make our animation more smother. 
Check out the most propeller after effect expression down below. 

Blink

After Effect Expression Blink
Blink


blinkSpeed=15;
n= Math.sin(time*blinkSpeed);
if(n<0) 0 else 100;


Magic Expression:

Magic Expression:
Magic Expression:


freq = 1;
amp = 110;
loopTime = 3;
t = time % loopTime;
wiggle1 = wiggle(freq, amp, 1, 0.5, t);
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
linear(t, 0, loopTime, wiggle1, wiggle2)

Path Loop:

Path Loop Expression
Path Loop Expression


try{
timeStart = thisProperty.key(1).time;
duration = thisProperty.key(thisProperty.numKeys).time-timeStart;
pingPong = false; //change to true value if you want to loop animationn back & forth 
quant=Math.floor((time-timeStart)/duration);
  if(quant<0) quant = 0
  if(quant%2 == 1 && pingPong == true){   t = 2*timeStart+ (quant+1)*duration - time;
}
else{
  t = time-quant*duration;
}
}
catch(err){
  t = time;
}
thisProperty.valueAtTime(t)

Position Bounce: 

Position Bounce
Position Bounce


amp = .1;
freq = 2.0;
decay = 2.0;
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 && t < 1){
v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{value}

Scale Bounce:

Scale Bounce
Scale Bounce


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 && t <1 ){
v = velocityAtTime(key(n).time -thisComp.frameDuration/10);
amp = .05;
freq = 4.0;
decay = 8.0;
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{
value;
}

Wiggle Random:


freq = 1;
amp = 110;
loopTime = 3;
t = time % loopTime;
wiggle1 = wiggle(freq, amp, 1, 0.5, t);
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
linear(t, 0, loopTime, wiggle1, wiggle2)

Check out my animation profile.
You can order me here.


After Effect Expression After Effect Expression Reviewed by Digital Marketing Support on 10:51 PM Rating: 5

1 comment:

Powered by Blogger.