Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Text Characters Rotation Randomness

  • Text Characters Rotation Randomness

  • Eduard Radu

    April 27, 2020 at 7:58 pm

    Hi,

    I need each character rotates in different direction. Starting with no animation at inPoint and finishing with no animation at outPoint of the text layer. The middle of the layer of course at maximum value.

    Eduard

  • Dan Ebberts

    April 27, 2020 at 8:48 pm

    Hmm… there are only two directions for rotation, so I think we need a more detailed description of what you’re after.

    Dan

  • Eduard Radu

    April 27, 2020 at 10:22 pm

    Hi Dan,

    I have this expression applied to the Amount of a Text Animator, Expression Selector. I want the animation to return to its original start position when the Current Time Indicator gets to the end of the layer.

    minVal = -10;
    maxVal = 10;
    minDur = .5;
    maxDur = 1;

    seedRandom(textIndex,true);
    prev = next = inPoint;
    prevVal = nextVal = 0;
    while (time >= next){
    prev = next;
    prevVal = nextVal;
    next += random(minDur,maxDur);
    nextVal = random(minVal,maxVal);
    }
    ease(time,prev,next,prevVal,nextVal);

    Eduard

  • Dan Ebberts

    April 27, 2020 at 10:32 pm

    Something like this maybe:


    seedRandom(textIndex,true);
    myVal = random(-100,100);
    midPoint = (inPoint+outPoint)/2;
    if (time < midPoint)
    linear(time,inPoint,midPoint,0,myVal)
    else
    linear(time,midPoint,outPoint,myVal,0)

    Dan

  • Eduard Radu

    April 27, 2020 at 11:23 pm

    Yes. I can understand and edit this one.
    Thanks Dan!

Viewing 1 - 5 of 5 posts

Log in to reply.

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