Text Effector in After Effects with expressions //

Описание к видео Text Effector in After Effects with expressions //

Thanks for watching. It’ll really help me if you can like and subscribe to my channel.

Here’s the timestamp of the video:

0:33 Keyframe animation
4:07 Expressions

To download the After Effects file for free, please visit:
https://fanverse.gumroad.com/l/textef...

Expressions:

// 1. Placing the anchor point to the left-middle point:
var rect = thisLayer.sourceRectAtTime();
[rect.left, rect.top + rect.height / 2];

// 2. Rotation of the text layer:
dx = transform.position[0]-thisComp.layer("Null 1").transform.position[0];
dy = transform.position[1]-thisComp.layer("Null 1").transform.position[1] ;
distance = Math.sqrt(dx*dx+dy*dy);
angle = Math.atan2(dy,dx);
angleInDegree = radiansToDegrees(angle);
angleInDegree;


This is how to get the radians from the x, and y value:
https://en.wikipedia.org/wiki/Atan2

// 3. Getting the X position on the circular path:

var x = transform.xPosition;
var y = transform.yPosition;
var nullX = thisComp.layer("Null 1").transform.position[0];
var nullY = thisComp.layer("Null 1").transform.position[1];
var yDistance = Math.abs(y - nullY);

var newX = x; // Create a new variable for the new x position

if(y 'smaller' nullY && yDistance 'smaller' 50){
newX = ease(yDistance, 50, 0, x*1.1, x); // Inversely map yDistance to the new x position

} if (y 'greater' nullY && yDistance 'smaller' 50){
newX = ease(yDistance,0,50,x*1.1,x);

}

newX;

PS: angle brackets are not allowed, please visit my gumroad for the expressions.

#aftereffects #motiongraphics #vfx #animation #design #videoediting #creativity #art #motiondesign #postproduction #explainervideo #titleanimation #logoanimation #productvideo #socialmediaanimation #musicvideo #kinetictypography #datavisualization #characteranimation #3danimation #aecommunity #motionmob #aftereffectschallenge #vfxchallenge #animationchallenge #mographchallenge #designchallenge #dailyrender #weeklyrecap #monthofmotion #aftereffectsartist #motiondesigner #vfxartist #animator #freelancer #availableforhire #hireme #opentowork #lookingforprojects #portfolio #adobe #creativecoding #software #technology #artlife #passionproject #neverstopexploring

Комментарии

Информация по комментариям в разработке