Ir al contenido principal

pack wiggles ae, after effects


// Jumpy Wiggle 1 (moves at a random FPS)
v=wiggle(5,50);
if(v < 50)v=0;
if(v > 50)v=100;
v
 
 
---------------------------------------------------------------
 
// Jumpy Wiggle 2 (moves at a defined FPS)
fps=5; //frequency
amount=50; //amplitude
wiggle(fps,amount,octaves = 1, amp_mult = 0.5,(Math.round(time*fps))/fps);
 
-----------------------------------------
 
// Inertial Bounce (moves settle into place after bouncing around a little)
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 = .05;
freq = 4.0;
decay = 2.0;
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{
value;
}

Comentarios

Entradas populares de este blog

Expression Péndulo

Aplicar a rotación, pér☺ en 3d. freq = 1.0; //oscillations per second amplitude = 50; decay = 0.7; amplitude*Math.sin(freq*time*2*Math.PI)/Math.exp(decay*time)  --------------------------------------------------------------------------------- freq = 1.0; //oscillations per second amplitude = 50; decay = 0; //no decay amplitude*Math.sin(freq*time*2*Math.PI)/Math.exp(decay*time)   Gana dinero con Buxvertise

Rotación

this_point=position; that_point=this_comp.layer("aquinombre").position; // what to point at delta=sub(this_point, that_point); angle=Math.atan2(delta[1], delta[0]); radians_to_degrees(angle)-90; // Jumpy Wiggle 1 (moves at a random FPS) v=wiggle(5,50); if(v < 50)v=0; if(v > 50)v=100; v --------------------------------------------------------------------------------------- // Jumpy Wiggle 2 (moves at a defined FPS) fps=5; //frequency amount=50; //amplitude wiggle(fps,amount,octaves = 1, amp_mult = 0.5,(Math.round(time*fps))/fps); ------------------------------------------------------------------------------------------------- // Inertial Bounce (moves settle into place after bouncing around a little) 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 = .05; freq = 4.0; decay = 2.0; val...