After Effects expression selectors for springy text

Опубликовано: 16 Октябрь 2024
на канале: After Effects Tutorials w/ Mikey
1,040
36

I'M BACK!!! I'm rusty, so go easy on me. learn to create a procedural automatic springy text, it's pretty cool and you'll learn a bit how the expression selectors work for text animations in After Effects.

Here is the main expression. (it won't let me put a greater than or less than sign in the description, so you will need to replace that part. it's in the first if statement.

vel = effect("Layer Control")("Layer").transform.position.velocityAtTime(time);

x = Math.abs(vel[0])/10000;

if (vel[0] --is less than-- 0){
nullPos = effect("Layer Control")("Layer").transform.position.valueAtTime(time-((textIndex-1)/24)*x);
}
else{
nullPos = effect("Layer Control")("Layer").transform.position.valueAtTime(time-((textTotal-(textIndex-1))/24)*x);
}


[nullPos[0]*(100/thisComp.width),nullPos[1]*(100/thisComp.height)]



Don't forget to share this video. You never know who among your friends is a closet After Effects user. Thanks.

Store:
https://elementsupply.co

Twitter
  / longlivemikey