FORUMS: list search recent posts

# Text Inertia

FAQ   •   VIEW ALL
 Text Inertia on Apr 26, 2013 at 2:45:19 am

How can I make my text slide from right to left and then it stops and shakes left right alot to a little, thanks

 Re: Text Inertiaon Apr 26, 2013 at 3:10:33 am

Well...you can either keyframe it by hand, or purchase a script which does the job:

http://aescripts.com/ease-and-wizz/

You could also do it with expressions:

http://www.motionscript.com/expressions-lab-ae65/table-of-contents.html

Joe Bourke
Owner/Creative Director
Bourke Media
http://www.bourkemedia.com

 Re: Text Inertiaon Apr 26, 2013 at 12:52:18 pm

or paste the following code into your position expression (you can change the "5's" in each parameter to change the effect's behavior). Then animate two keyframes.

```amorti = 5; freq = 5; if (numKeys > 1 && freq != 0 ){ if (nearestKey(time).index == 1) { value } else { if (length(velocity) == 0) { tempsClefProx = nearestKey(time).time; if ( tempsClefProx <= time ) { tempsDebut = tempsClefProx } else { tempsDebut = key(nearestKey(time).index-1).time } temps = time - tempsDebut; spring = velocityAtTime(tempsDebut-thisComp.frameDuration) * ( .15/freq * Math.sin(freq * temps * 2 * Math.PI) / Math.exp( temps * amorti ) ); valueAtTime(tempsDebut) + spring; } else { value } } } else { value }```

 Re: Text Inertiaon Apr 26, 2013 at 2:25:30 pm

How do I use expressions?///

 Re: Text Inertiaon Apr 26, 2013 at 3:34:52 pm

http://mattrunks.com/en/tutorials/after-effects/amortype

Be sure to watch the video tutorial first so you can see how it is used.

The expression above is from this preset, notice that the variable names are in French (eg: tempsDebut for start time), the language of its author Mathias Peresini aka Mattrunks.