Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions blink / stutter at in point

  • blink / stutter at in point

    Posted by Jason Jantzen on April 29, 2013 at 10:51 pm

    Is there a simple expression for having a layer’s opacity be kind of blinky stutter, like it’s stuttering to full opacity? Kind of like those sci-fi interfaces when they first come on sort of stutter and then are fully on. I wanted to have it driven by the IN point so I can stagger the layers around to animate them on.

    Thanks!

    Jason Jantzen
    vimeo.com/jasonj

    Jason Jantzen replied 13 years ago 2 Members · 8 Replies
  • 8 Replies
  • Dan Ebberts

    April 30, 2013 at 12:20 am

    Play around with this:


    dur = 3;
    freq = 12
    t = time - inPoint;
    if (t > dur){
    100
    }else{
    w = wiggle(freq,100);
    if (w < 100) 0 else 100;
    }

    Dan

  • Jason Jantzen

    April 30, 2013 at 12:23 am

    cool! that is nearly perfect Dan, and I actually sort of understand what’s going on for a change. I have no idea, however, how to introduce a random seed into the expression. Can you help me there? I was thinking maybe random frequency, and maybe even random duration, but based on the value parameters you set up there.

    Jason Jantzen
    vimeo.com/jasonj

  • Dan Ebberts

    April 30, 2013 at 12:40 am

    Just add something like this at the top of the expression:

    seedRandom(999,true);

    Dan

  • Jason Jantzen

    April 30, 2013 at 12:43 am

    Perfect! Thanks again Dan. I’m animating on a map that’s vector looking, so I thought it would look cool to kind of blink on like a console graphic or something.

    Jason Jantzen
    vimeo.com/jasonj

  • Jason Jantzen

    April 30, 2013 at 12:49 am

    actually, I think I’m putting it in the wrong place, if I put it under the t=time line then everything animates the same as usual. If I put it at the bottom it doesn’t work at all. Is there some syntax I’m missing?

    Jason Jantzen
    vimeo.com/jasonj

  • Jason Jantzen

    April 30, 2013 at 12:53 am

    sorry, I did put it at the top, and still everything blinks in sync. forgot to mention that.

    Jason Jantzen
    vimeo.com/jasonj

  • Dan Ebberts

    April 30, 2013 at 12:57 am

    It should already be different for each layer without the seedRandom(). If you want use seedRandom(), you’ll need to give each layer a unique seed value. You could try seedRandom(index,true).

    Dan

  • Jason Jantzen

    April 30, 2013 at 1:00 am

    Oh right, it is already random. Sorry about that. I had all my layers staggered so I couldn’t tell at first.

    Jason Jantzen
    vimeo.com/jasonj

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