ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Arabic text | Inverting the direction of an expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Camille Greatorex
Arabic text | Inverting the direction of an expression
on Dec 4, 2018 at 10:35:04 am

Hello there,

Although this is my first post, I have been through this forum a lot along theses lasts years. This forum is awesome, so as this question is a bit tricky, I prefer ask it rather than found something that wouldn't help me.

I've got a motion design video made in After Effect (not by me) to translate in Arabic.

All the texts animation are made from Left to Right, using this particular expression.

As Arabic is written from Right to Left, I want to invert this expression, but keep it the exact same.

Thank you by advance for all input.

Cheers

delay = .02;
myDelay = delay*textIndex;
t = (time - inPoint) - myDelay;
if (t >= 0){
freq =2;
amplitude = 100;
decay = 8.0;
s = amplitude*Math.cos(freq*t*2*Math.PI)/Math.exp(decay*t);
[s,s]
}else{
value
}


Return to posts index

Dan Ebberts
Re: Arabic text | Inverting the direction of an expression
on Dec 4, 2018 at 5:03:17 pm

I think you would just change the 2nd line to:

myDelay = delay*(textTotal-textIndex +1);


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]