Forum Replies Created

  • Austin Hill

    October 14, 2020 at 1:13 am in reply to: Expression: As Value Increases, Loop from 0 to 100

    Thank you, Walter!!! That’s exactly what I was looking for. You’ve saved me countless hours.

    In case it helps someone else, using the modulo operator, I was able to rewrite the expression as follows:

    input=(thisComp.layer("Null 2").effect("Slider Control")("Slider")/10000)%100;
    il=0;
    ih=100;
    ol=116.5;
    oh=-1883.4;
    linear(input,il,ih,ol,oh);

    I have a slider keyframed from 0 to 100,000. This expression is for the hundred thousands place (100,000) as you can see in the first line (bolded above) the slider is divided by 10,000. For the ten thousands place (100,000), it is divided by 1,000 and so on until the ones place (100,000) which is multiplied by ten instead. The tens place (100,000) is neither multiplied nor divided. This works just like an odometer, each place must go through a full cycle for the place to the left to increment by one.

    I like this technique because, since the number columns are actually moving their position, you can use native motion blur. Plus, you can ease the slider to your liking for a quick count up and slow finish. Two things I was not able to do with other odometer techniques.

    I can use this for even hundred thousands, but the numbers will be misaligned at anything that’s not, like 145,938. Not a problem for this project but something to work on another day.

    Thanks again!! I really appreciate your help.

  • Austin Hill

    June 11, 2013 at 4:19 pm in reply to: Color Correction Workflow

    Great advice! Much appreciated! I will have to look into a color correction app.

    Thanks!

    Austin

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