ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Natural type-on expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Sher Safi
Natural type-on expression
on Feb 12, 2018 at 8:37:23 am
Last Edited By Sher Safi on Feb 12, 2018 at 2:22:55 pm

I am very new to expressions. I looked over the internet and found an expression that helps me write a text with a Blinking cursor, which works perfectly. the only issue here is that the expression types the text in a constant speed. what I want is to have a "Natural type-on" effect; meaning I want to achieve a more human typing effect by varying the animation speed to random. is there a way to do it in the expression?!

***Type-on with blinking cursor (expression):

L = text.sourceText.length;
T = time*effect("Speed")("Slider") - effect("Start At")("Slider")*effect("Speed")("Slider");
F = Math.round(time % 1);

if(F == 1 | (T0) ){Fl = "|";}else{Fl=" ";}

substr(0,T) + Fl


Return to posts index

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