ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud Debate

Expression Selector using Range Selector Start and End values?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index


Peter ZeetExpression Selector using Range Selector Start and End values?
by on Jun 18, 2012 at 11:01:07 am

Hi!
Is is possible to link somehow the Expression Selector to the Start and End values in Range Selector?

Basically I want to play with these to achieve an outwards type animation (and not from left to right or random)

In my case, playing with the scale and this expression:


delay = .1;
myTime = time - delay*(textIndex-1);
n = 0;
if (numKeys > 0){
n = nearestKey(myTime).index;
if (key(n).time > myTime) n--;
}
if (n > 0){
t = myTime - key(n).time;
amp = velocityAtTime(key(n).time - .001);
freq = 4;
decay = 2;
w = freq*Math.PI*2;
valueAtTime(myTime) + amp* Math.sin(t*w)/Math.exp(decay*t)/w
}else{
valueAtTime(myTime)
}


So if you type " video drome", it would start with "o", "d", "e", "r","d", o" and so on... as if you play around with the Start and End values in the Range Selector

thanks in advance!


Posts Index


Current Message Thread:
  • Expression Selector using Range Selector Start and End values? by Peter Zeet on Jun 18, 2012 at 11:01:07 am





© 2016 CreativeCOW.net All Rights Reserved
[TOP]