Flare-Flutter icon indicating copy to clipboard operation
Flare-Flutter copied to clipboard

How to slow down flare animation from seconds to hours

Open pk3199 opened this issue 5 years ago • 2 comments

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

pk3199 avatar Jan 10 '20 08:01 pk3199

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

uxrefiner avatar Mar 28 '20 21:03 uxrefiner

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...

tsinis avatar Mar 29 '20 21:03 tsinis