Skip to main content
Known Participant
February 18, 2023
Question

Adjusting the speed of an animation?

  • February 18, 2023
  • 2 replies
  • 1712 views

I am working on a progress bar that needs to be over days. Suggestions? Thanks!

This topic has been closed for replies.

2 replies

Mylenium
Legend
February 18, 2023

Even under best conditions, a 60 day video would render for several days to create it if you assume multiple times the speed of the realtime playback. And it's not even possible to create sich a clip, let alone handle the quadrizillion frames and the data of the files. That would be bigger than even a movie production. And for what? A stonkin' 600 px progress bar that wouldn't even move by a single full pixel every hour? What would any of that be good for? At best you would produce an image sequence where the image updates every hour or even less by means of a JavaScript in the browser or an entirely native solution based on web techniques, but clearly, none of that exactly requires AE. I think you're really looking on the completely wrong end.

 

Mylenium

ShiveringCactus
Community Expert
Community Expert
February 18, 2023

Can you explain a little more about what you're needing?  The simplest way to do a progress bar is to animate a shape layer moving from left to right and use another, non-animated shape as it's alpha track matte.  

But you've tagged this as an expression question and mentioned days, so maybe if you sketch out some storyboards and post here, we might be able to get a better idea what you're after.

Fern157FAuthor
Known Participant
February 18, 2023

Thanks for you reply! I'm working on a countdown clock over 60 days so longer than typical progress bars. (It needs to be in a bar format and not pages flipping on a calendar.) I'm not an AE expert so wondering if there is a math formula that can calculate the speed at which the shape layer fills the nonaminated bar to match 60 days. (The bar would be no more than 600 pixels long) Make sense? 

ShiveringCactus
Community Expert
Community Expert
February 18, 2023

*Slowly fill


Ah yes, in that case you do want to do this in Jasvascript.  Obviously not the right forum, but you can get the current date, the start date and end date as unix milliseconds, then use that calculate the current date as a percentage of the difference, which can then be applied to the width of a bar.