FORUMS: list search recent posts

# Using 'Scale in' expression in a sentence without affecting the tracking of the letters.

FAQ   •   VIEW ALL Using 'Scale in' expression in a sentence without affecting the tracking of the letters. on Nov 14, 2019 at 5:01:58 pm

I m using the 'scale in' expression from a template. The original text was just one word and I edited the text and added a sentence. I was wondering how can I adjust the expression so the words don't overlap when scaling in. Im attaching a screenshot. https://imgur.com/a/9bwjPBw

I have very basic knowledge of expression so I usually copy paste expressions and then adjust the code but this one is bit complex for me. Thanks in advance!

Expression:
n = 0;
if (numKeys > 0) {
n = nearestKey(time).index;
if (key(n).time > time) n--;
if (n == 0 || n == numKeys) value;
else customBezier (time, key(n).time, key(n+1).time, key(n).value, key(n+1).value, [0.05, 0.95, 0.01, 1]);
} else { value; }

//--------- Flow Expression Code ---------//
function customBezier(t,tMin,tMax,value1,value2,bezierPoints){z=arguments;if(z.length!==6)return value;a=z-z;b=z-z;c=clamp((z-z)/b,0,1);if(!(zinstanceof Array)||z.length!==4)z=[0.05, 0.95, 0.01, 1];return a*h(c,z)+z;function h(f,g){y=arguments;h=3*y;j=3*(y-y)-h;k=1-h-j;l=3*y;m=3*(y-y)-l;n=1-l-m;d=y;for(var i=0;i<5;i++){var z=d*(h+d*(j+d*k))-y;if(Math.abs(z)<1e-3)break;d-=z/(h+d*(2*j+3*k*d));}return d*(l+d*(m+d*n));}}
//--------- Flow Expression Code ---------//