FORUMS: list search recent posts

Count up numbers 1000 at a time.

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Darell Nonis
Count up numbers 1000 at a time.
on Mar 21, 2019 at 3:41:49 am

Hi.

I've recently created an AE composition with a text layer that contains a number. My plan is to animate the text so that the number counts up 1000 at a time.

For example, for 3 seconds, I'd like the text to count from 0 to 75000 in 1000 intervals (i.e. 0, 1000, 2000, 3000, ... ,75000).

Anyone's help is much appreciated.

Thanks.
Darell


Return to posts index

Dave LaRonde
Re: Count up numbers 1000 at a time.
on Mar 21, 2019 at 3:57:01 am

Over what period of time? Increment by 1000 each frame? What's the frame rate?

A lot we don't know.....

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Walter Soyka
Re: Count up numbers 1000 at a time.
on Mar 21, 2019 at 8:53:36 am

This expression will do what you describe. Twirl open your text layer in the timeline panel, then twirl open the Text group, then Alt+click the stopwatch for the Source Text property and paste the following:

Math.floor(linear(time, inPoint, inPoint + 3, 1, 75)) + "000"

English translation:

As we progress in time from the layer's in point to 3 seconds after the in point, go from 1 to 75 (linear), drop any decimal points (Math.floor), and tack on three zeroes to the end.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]