Activity › Forums › Adobe After Effects Expressions › Expression to make texts grow in size
-
Expression to make texts grow in size
Posted by Carlos Bautista on November 23, 2022 at 2:44 pmHi Guys, Is there an expression that makes a Line of texts start smaLL and graduaLLy go big? (See attachments for reference)🙂Cheers,CarLos
Julian Chojnacki replied 10 months, 1 week ago 4 Members · 4 Replies -
4 Replies
-
Othman Ahmed
November 24, 2022 at 11:32 amTry Something like this might help
endSize = effect("Slider Control")("Slider");
endTime = effect("Slider Control 2")("Slider");
t = linear(time,0,endTime,1,endSize);
x = text.sourceText.style.setFontSize(t); -
Dan Ebberts
November 24, 2022 at 7:59 pmThe only think I can think of would be to add a Scale Animation and set the Scale amount to your maximum size, add an Expression Selector (you can then delete the Range Selector) and add a Tracking property to the Animator so that tracking increases as the scale goes up. You might need to fiddle with the Expression Selector’s Amount expression if you don’t like how the size progresses from small to large.
-
Julian Chojnacki
November 25, 2022 at 4:15 amAn alternative approach would be to add a scale animator, select the desired line with a range selector and keyframe the scaling. Make sure to change the text layer’s anchor point grouping to line. Then adjust leading in the character panel or add a line spacing animator afterwards
-
Julian Chojnacki
November 25, 2022 at 5:18 amYou could then apply this expression to the animator’s scale to avoid setting keyframes:
t = time - thisLayer.inPoint; v = t * x; //replace x with percentage you want to scale every second [value[0] + v, value[1] + v]
Reply to this Discussion! Login or Sign Up