Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to slow down flare animation from seconds to hours #222

Open
pk3199 opened this issue Jan 10, 2020 · 2 comments
Open

How to slow down flare animation from seconds to hours #222

pk3199 opened this issue Jan 10, 2020 · 2 comments

Comments

@pk3199
Copy link

pk3199 commented Jan 10, 2020

I am developing an animation for solar tracking app. In that the sun has to revolve around the given arc for 12 hours or even more. I have created the animation in flare for 30 sec but i need to extend the duration up to 12 hours. How to expand it in flutter..?
use the following link to view and access the animation
https://rive.app/a/PraveenKumar/files/flare/solar-tracking/preview

@uxrefiner
Copy link

You can just set the animation to loop in Rive and when you export the binary, the animation will infinitely loop

@tsinis
Copy link

tsinis commented Mar 29, 2020

You can just set the animation to loop in Rive and when you export the binary, the animation will infinitely loop

Hey @uxrefiner I think this is not what the @pk3199 wants. In my opinion he wants to slowdown animation for being animated for a long time (like hours, days). I've made something similar in my Flutter Clock project. My animation was just 24min long but it's playing all day long (24 hours).
Take a look at this realization:
https://github.com/tsinis/flutter_clock/blob/97f7c572f8e36e61aa8c5c66296627969f6048c9/analog_clock/lib/animation_controller.dart#L74-L79
Hope it helps!

P.S. Anyways this Issue is not actually issues of Rive lib, but actually those kind of questions belongs to webs like StackOverflow...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants