Self Resizing Shapes to Text | After Effects Pro Tutorial



Join the discord to talk film and animation, any time, anywhere!
https://discord.gg/cpmVBQ2

Suport me on Patreon!
http://patreon.com/maxwellridgeway

Download the Expression + Project file here
http://www.mediafire.com/file/l8tfti56vpl3twz/Scale_Text.zip

Expressions (There’s three, First one is the main one.)

margin = 50;
text_width = thisComp.layer(“Text”).sourceRectAtTime().width;
text_height = thisComp.layer(“Text”).sourceRectAtTime().height;
box_width = text_width + margin*2;
box_height = text_height + margin*2;
[box_width, box_height]

text_height = thisComp.layer(“Text”).sourceRectAtTime().height;
[0, text_height/2]

t = thisComp.layer(“Text”);
tRect = t.sourceRectAtTime(time,false);
tUL = t.toComp([tRect.left,tRect.top]);
tLR = t.toComp([tRect.left+tRect.width,tRect.top+tRect.height]);
tCenter = (tUL + tLR)/2
myRect = sourceRectAtTime(time,false);
myUL = toComp([myRect.left,myRect.top]);
myLR = toComp([myRect.left+myRect.width,myRect.top+myRect.height]);
myCenter = (myUL + myLR)/2
delta = myCenter – tCenter;
value – delta

Click to subscribe for more!
https://goo.gl/GlLKKW

Connect on Social Media
https://instagram.com/maxwellridgeway/
https://twitter.com/MaxwellRidgeway

My Gear

Cameras

Main workhorse the GH5
B&H – https://bhpho.to/2fBAqDh
Amazon – http://amzn.to/2fU4PJR
Secondary Camera 70D
B&H – https://bhpho.to/2fBAqDh
Amazon – http://amzn.to/2fBoDVy

Lenses

Main Lens Sigma 18-35
B&H – https://bhpho.to/2wYSoqL
Amazon – http://amzn.to/2yIX9C5
Wide Lens Canon 10-22
B&H – https://bhpho.to/2fBKpJ3
Amazon – http://amzn.to/2xEJTyq
Cheaper Wide lens
B&H – https://bhpho.to/2wZur2C
Amazon – http://amzn.to/2yLjWNw

Lens Adaptors for GH5

Expensive adaptor
B&H – https://bhpho.to/2fCaQhC
Amazon – http://amzn.to/2ycqQyB
Cheap adaptor
Amazon – http://amzn.to/2xIQTvD

Tripods

Joby
B&H – https://bhpho.to/2wYXm7d
Amazon – http://amzn.to/2xN7aA5
You need this for the amazon Joby – http://amzn.to/2xEIKqr
Main tripod
B&H – https://bhpho.to/2fClXqS
Amazon – http://amzn.to/2xJm2iH
Cheap Tripod
Amazon – http://amzn.to/2wXVKKB

Sound Gear

Voiceover Mic
B&H – https://bhpho.to/2xvBLDe
Amazon – http://amzn.to/2fCLqAx
Voiceover mic recorder
B&H – https://bhpho.to/2wYZVWP
Amazon – http://amzn.to/2xF27Qd
External Recorder
B&H – https://bhpho.to/2fAxSFs
Amazon – http://amzn.to/2fUx0Z8
Shotgun Mic
B&H – https://bhpho.to/2fDUZit
Amazon – http://amzn.to/2xNcDqH
Amazing Lavs
B&H – https://bhpho.to/2wZ0TlV
Amazon – http://amzn.to/2xIZJtf
Camer Mic
B&H – https://bhpho.to/2wYUpTR
Amazon – http://amzn.to/2xJlAkD

Lighting

Ring light
Amazon – http://amzn.to/2fUdHiF
Edison Bulb in the background
Amazon – http://amzn.to/2yIYqcl
LED lighting
Amazon – http://amzn.to/2xFWWiS

Have a video idea? Submit it here!
https://goo.gl/e4Q6p4

and be sure to check out my stock portfolio at
https://www.pond5.com/artist/ridgeway411

Today we learn how to auto scale shapes to text in after effects, some may call it Self Resizing Shapes!

Duration: 00:05:57

source