Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Per-Character 3D text random bounce and character rotate?

  • Per-Character 3D text random bounce and character rotate?

    Posted by Tara Devlin on November 26, 2013 at 8:08 pm

    Hi Everyone,

    I need to make per-character 3D editable text in which each character randomly bounces in from the top of the screen while the characters also randomly rotate on the y axis until they resolve at one and a half seconds in the middle of the screen.

    I was playing with After Effects’ “text bounce” expression, but couldn’t get it to bounce randomly… or rotate randomly.

    Is there an expression that might accomplish this? I’m trying to avoid having to animate characters one by one because I have to do lots of versions of this style!

    Thanks for any help or advice,
    Tara

    This is AE: built-in text bounce expression that I tried to customize:

    _________________________________________________

    f = effect("Bounce Frequency")(1);

    // 0 means start at bottom, 1 means start at stop
    phase_start = effect("Bounce Start")(1) / 100;

    character_delay_param = effect("Bounce Per-Character Delay")(1).value;
    character_delay_index = textIndex - 1;
    if (character_delay_param < -6) {
    character_delay_param = -character_delay_param ;
    character_delay_index = (textTotal - textIndex);
    }

    character_delay = character_delay_param * character_delay_index;
    t = time * f - character_delay;
    if (t < 0) {
    t = 0;
    }
    t += phase_start;
    w = 2;
    bounce_num = Math.floor(t / w);
    t = t % w;
    y = t * (w - t);

    decay = effect("Bounce Decay")(1) /600;
    h = Math.pow(decay, bounce_num);
    -h + h*y * selectorValue

    Tara Devlin replied 12 years, 5 months 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