Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression Selector using Range Selector Start and End values?

  • Expression Selector using Range Selector Start and End values?

    Posted by Peter Zeet on June 18, 2012 at 11:01 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!

    Peter Zeet replied 14 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy