-
Expression for reversed typewriter effect, disappearing from beginning to end.
Hi! I am trying to achieve a typewriter effect that reveals on the inpoint of the layer, and disappears close to the outpoint. I found this piece of code in another thread here on creativecow, and it’s close to what I want. But not exactly. With this script, the text disappears from the end to the beginning. I want to make it disappear from the beginning to end. Sort of to make space for the next word to appear. Any help would be greatly appreciated!
Below is the code from the other thread (https://creativecow.net/forums/thread/typewriter-forward-then-reverse/):
Speed = 40
StartAt = inPoint
X = text.sourceText;
T = time * Speed – StartAt * Speed;
if (T>0) X.substr(0,T)
Speed = 40;
t = time < (inPoint+outPoint)/2 ? time – inPoint : outPoint – time;
value.substr(0,t*Speed)