Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions and Random numbers

  • Expressions and Random numbers

    Posted by Brad Nall on November 26, 2006 at 6:50 pm

    I have a text layer that I have applied a displacement map to.
    I would like the text to only be affected every 10-15 frames and look normal the rest of the time.

    I have tried several different methods with some interesting results but not the look I am going for.

    I am only trying to displace the horizontal aspect, sure I can go in and set key frames to achieve the same randomness and then create a loop out method but… Now that I have started I would like to find the expression that does this.

    If anyone knows what I am talking about or how to do this please let me know,

    Oh yea, I went to Dans page and got even more confused, learned a few things but not what I was looking for.

    Tobias Pfeiffer replied 19 years, 5 months ago 2 Members · 1 Reply
  • 1 Reply
  • Tobias Pfeiffer

    November 28, 2006 at 7:45 pm

    use this expression. a quick and dirty one. maybe there are better approaches.

    numgen=random(100);
    if(numgen>92){
    amount=10;
    }
    else {
    amount=0;
    }
    amount

    good luck,
    payton

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