Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Tweaking existing expression

  • Tweaking existing expression

    Posted by Avrohom Kohn on October 15, 2007 at 2:50 pm

    I have this expression from one of AE’s animation presets, but I’d like to tweak it:
    ______________________
    rawAmount = effect(“Scale Bounce – random”)(“Chance of Bouncing”);
    compareAmount = (50-rawAmount) / 50;
    nervousness = effect(“Scale Bounce – random”)(“Bounce Nervousness”) / 20;
    targetScale = effect(“Scale Bounce – random”)(“Target Scale Change”);
    noiseResult = noise(time * nervousness);
    linear(noiseResult, compareAmount, 1, 100, targetScale)
    _______________________

    Right now, it just randomly scales my text layer. What I want to change is: instead of having regular scaling, I’d like it to be abrupt, where with regular keyframes I would say “toggle hold keyframes” I’d like to do it to this expression somehow, since there are no actual keyframes.

    thanks.

    A.P.
    TAMotion

    Dan Ebberts replied 18 years, 10 months ago 3 Members · 2 Replies
  • 2 Replies
  • Mike Clasby

    October 15, 2007 at 7:38 pm

    Do you know the name of the text preset? It looks like it has several sliders for variables for the expression but I con/t locate it to see if I can hack it?

  • Dan Ebberts

    October 15, 2007 at 7:41 pm

    How often do you want it to freeze? Is it periodic? If so, it might be as simple as adding something like this to the top of the expression:

    posterizeTime(3);

    Dan

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