Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions working with posterizeTime

  • working with posterizeTime

    Posted by Bert Brown on July 9, 2008 at 3:05 pm

    I’m trying to get a “Blend With Original” to work with posterizeTime, so for the first half second it’s at 0 and the next it’s at 100, with no in between.

    ?

    ———————————-

    peep my over-the-interweb band, red abbott.
    “we electro-rock over long distances…”

    Bert Brown replied 17 years, 10 months ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    July 9, 2008 at 3:26 pm

    Would something like this applied to the posterize frame rate give you what you’re after?

    posterizeRate = 2;
    normalRate = 1/thisComp.frameDuration;
    if(Math.floor(time/.5)%2) normalRate else posterizeRate

    Dan

  • Bert Brown

    July 9, 2008 at 3:37 pm

    i’m not sure, as i’m not sure what you mean by applying to the posterize frame rate

    i applied that expression to the “blend with original” and it blinks at the right time, but it goes from 2% to 30%.

    basically i’m just wondering how you make something blink, or better yet switch from 0 to 100, twice a second

    ———————————-

    peep my over-the-interweb band, red abbott.
    “we electro-rock over long distances…”

  • Dan Ebberts

    July 9, 2008 at 3:54 pm

    Sorry – I’m still not sure what you’re trying to do, but try this:

    if(Math.floor(time/.5)%2) 0 else 100

    Dan

  • Bert Brown

    July 9, 2008 at 3:58 pm

    even when he’s unsure, he’s still got it!

    that’s what i was trying to do. works perfectly!

    ———————————-

    peep my over-the-interweb band, red abbott.
    “we electro-rock over long distances…”

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