Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Eye-Blink Expression

  • Dan Ebberts

    July 6, 2012 at 2:08 am

    Each one is different for me. The only thing I can think of is that maybe you have the expression inside a precomp and you’ve duplicated the precomped layer.

    Dan

  • Navarro Parker

    July 6, 2012 at 6:07 pm

    Ah! I see the problem — I had my minSeg and maxSeg set to the same amount of time. That’s what made them all blink in unison.

  • Connor Ryan

    July 12, 2012 at 3:04 pm

    How could you use this expression, but make the character randomly blink twice? Thanks for your help.

  • Dan Ebberts

    July 12, 2012 at 3:20 pm

    I guess you could change the start of the while() loop to this:

    while (time >= segEndTime && i <= 3){

    Dan

  • Wyclef Chron

    December 3, 2014 at 3:55 pm

    This is a great script!

  • Ariel Guerchicoff

    September 29, 2015 at 8:03 pm

    Thank you very much Dan, handy!

  • Lewis Snook

    April 18, 2016 at 5:04 pm

    Hi Dan,

    This expressions of yours works great for me, up until I add in the fade part. As soon as I add in that part; the eye switches to fade-blinking on at random intervals, but is default set to off. I don’t suppose you know how I can fix this?

  • Lewis Snook

    April 18, 2016 at 5:10 pm

    Never mind I have fixed it!

  • Diep Lehung

    October 17, 2016 at 3:40 pm

    Hi Dan.
    I’m sorry if dig this topic up since it was long time ago. It is still very helpful to me.
    This expression is working perfectly. I’m just wondering whether we can approaching differently without loop “while”?.
    After adding lot of expression in my project, it is very slow to calculate. I’m trying to eliminate all of “while” method in the expression to reduce calculation time.

  • Dan Ebberts

    October 17, 2016 at 4:01 pm

    The only way I can think of to get rid of the while loop would be to be to chop the time into fixed, blink-sized chunks, and define some probability for a blink occurring in any given chunk. I’m not sure that it would seem as random, but it might work better for long comps.

    Dan

Page 2 of 4

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