Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Dan, assistance with your strobe dissolve expression

  • Dan, assistance with your strobe dissolve expression

    Posted by Robert Paynter on May 12, 2010 at 7:38 pm

    I found this post on “strobe dissolve” expression you wrote.
    https://forums.creativecow.net/archivethread/2/524558#524564
    I love it. It’s just what I’m looking for.

    However
    I’m trying to get it to work for me and I’m not understanding the expression well enough to change it.

    It’s the hold time I feel like I have no control over.

    I want to time stretch to 150%, posterize time = 1, that makes the frame hold for about a second and a half.
    and fade time to .5

    It doesn’t seem to be working.

    timeStretch = 150; // layer time strech (percent)
    fadeTime = .5; //fade time (seconds)

    holdTime = (1/effect(“Posterize Time”).param(“Frame Rate”))*timeStretch/100;
    t = time % holdTime;
    fadeStart = holdTime – fadeTime;
    linear(t,fadeStart,holdTime,100,0)

    Is there something I’m doing wrong?

    Dan Ebberts replied 16 years ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    May 13, 2010 at 2:31 am

    >Is there something I’m doing wrong?

    Possibly. 🙂

    Did you duplicate the layer (after the time stretch and posterize time effect, but before the expression is applied), apply the expression to the top copy, move the time indicator to where the first frame starts to fade (1:01 on my footage – watch the opacity value), turn off the visibility of the top layer and move the bottom layer so that the 2nd frame just appears at the time marker and then turn the top layer back on?

    It seems to work for me.

    Dan

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