Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: ForumAE BasicsAE ExpressionsTutorialsArticlesPodcastsMotion GraphicsTrainingCinema 4D

Number expression to count from 100 - 150 over a specified duration

Cow Forums : Adobe After Effects Expressions
Number expression to count from 100 - 150 over a specified duration
by Chris Huggett on Aug 2, 2005 at 2:33:28 am

Hey guys

can anybody tell me how to create a countup from 100 - 150 over 4 secs.

I dont want to use the numbers filter, which could probably do this, but need it to be expressions. as its a text layer with animation.

cheers
chris

Respond to this post     Return to posts index

Re: Number expression to count from 100 - 150 over a specified duration
by Dan Ebberts on Aug 2, 2005 at 2:59:20 am

Try this:

linear(time,0,4,100,150)

If you only want integers, it would be like this:

Math.round(linear(time,0,4,100,150))

Dan

Respond to this post     Return to posts index

Re: Number expression to count from 100 - 150 over a specified duration
by Chris Huggett on Aug 2, 2005 at 3:45:27 am

thanks Dan

worked like a charm.
Chris

Respond to this post     Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSLIBRARYPODCASTSBLOGSMAGAZINESERVICESNEWSLETTERSNEWSSTOREEVENTS

© CreativeCOW.net All rights are reserved.

[Top]