Riquadro automatico intorno al testo

mamowold mostra come creare un riquadro intorno ad un livello Testo, che si aggiorni automaticamente senza plug-in o espressioni. fonte: copia

Appunti Adobe After Effects · 2020-05-07

Espressione layer position distribution

start_layer = thisComp.layer("Start Null"); end_layer = thisComp.layer("End Null"); pos_start = start_layer.transform.position; pos_end = end_layer.transform.position; index_start = start_layer.index; index_end = end_layer.index; layer_count = index_end - index_start; this_layer_pos = pos_start + (pos_end-pos_start)/layer_count*(index-index_start) fonte: 1

Appunti Adobe After Effects · 2019-09-12

Preset e espressione counter

Preset: CounterPro preset di Studio Blou. Espressione: numDecimals = 2; commas = true; dollarSign = true; beginCount = -1999; endCount = 1999; dur = 4; t = time - inPoint; s = linear (t, 0, dur, beginCount, endCount).toFixed(numDecimals); s = s.replace (".",","); prefix = ""; if (s[0] == "-"){ prefix = "-"; s = s.substr(1); } if(dollarSign) prefix += "$"; if (commas){ decimals = ""; if (numDecimals > 0){ decimals = s....

Appunti Adobe After Effects · 2018-04-15

Espressione keyframe bounce back

e = .7; g = 5000; nMax = 9; n = 0; if (numKeys > 0){ n = nearestKey(time).index; if (key(n).time > time) n--; } if (n > 0){ t = time - key(n).time; v = -velocityAtTime(key(n).time - .001)*e; vl = length(v); if (value instanceof Array){ vu = (vl > 0) ? normalize(v) : [0,0,0]; }else{ vu = (v < 0) ? -1 : 1; } tCur = 0; segDur = 2*vl/g; tNext = segDur; nb = 1; // number of bounces while (tNext < t && nb <= nMax){ vl *= e; segDur *= e; tCur = tNext; tNext += segDur; nb++ } if(nb <= nMax){ delta = t - tCur; value + vu*delta*(vl - g*delta/2); }else{ value } }else value fonte: 1

Appunti Adobe After Effects · 2018-03-01

Espressione inertial bounce

// 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 && t < 1){ 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; } fonte: 1, 2

Appunti Adobe After Effects · 2018-02-25

Espressione throw

// Throw (move at a constant speed without keyframes) veloc = -10; //horizontal velocity (pixels per second) x = value[0] + (time - inPoint) *veloc; y = value[1]; [x,y] fonte: 1

Appunti Adobe After Effects · 2018-02-24

Espressione titoli di coda

t = time; fr = (time - inPoint)/thisComp.frameDuration; s = -4; //Speed in pixels per frame y = value[1]+(fr*s); [value[0], y] fonte: 1, 2, 3

Appunti Adobe After Effects · 2018-02-23