-
Is there a wordPerSec expression?
Hi there
I hope you can help.
I am looking for a wordPerSec expression that works in the same way as this expression
charPerSec = 40;
tTotal = value.length/charPerSec;
t = easeIn(time,0,tTotal,0,tTotal);
idx = Math.floor(t*charPerSec);
value.substr(0,idx)But with words not individual characters.
Thanks in advance