show words of a phrase one by one animating the scale of each word from 80 to 100 using expressions
Hello, this is my first post. I am not very good at expressions, but I was trying to show words of a phrase one by one animating the scale of each word from 80 to 100 using expressions. Each word must be justified in the center of the composition, I would also like to have a control on how fast the words appear. So far I managed to make the words appear one by one using the split method with array, but I am having trouble with the scale.
Here is some of the code:
sourceText
if (effect("EnableWord")("Checkbox") == 1) {
calcDur = thisLayer.outPoint-thisLayer.inPoint;
dur = Math.round(calcDur);
text = text.sourceText.split(" ");
lg = text.length;
x = ease(sourceTime(),0,dur-1,0,lg-1);
text[Math.round(x)];
} else { value };
scale code:
calcDur = thisLayer.outPoint-thisLayer.inPoint;
dur = Math.round(calcDur);
text = text.sourceText.split(" ");
lg = text.length;
x = linear(sourceTime(),0,dur,80,100);
[x,x];
