Skip to main content
H
1y ago

Exporting timeline animations to JSON?

Hi, would it be any way to export timeline animations to json/code so I can send to my client to implement with lottie?

I understand the interactions rive does (state machine) are proprietary, but could simple timelines be exported as code? Bodymovin can only export specific after effects layers (shapes, etc) - so it would be useful if Rive could export some animations?

I've made some simple button animation on Rive (Hover/ pressed) and I would like to export the two timelines as code, so my client can implement with lottie. I had a better experience animating on Rive as it's all vector and a natural way to preview with mouse clicks, so now I will have to re-create the animations on after effects. Ideally I would like to export the timelines to JSON so they can make the interactivity on their side.

Thanks!

2 replies
H
1y ago

Perhaps you’re aware of this, but just in case you’re not, Rive offers our own runtime libraries to implement your Rive animations on any platform. There’s no need for Lottie. See https://rive.app/runtimes

There are several benefits over Lottie, which you can read about here https://rive.app/blog/rive-as-a-lottie-alternative

Regarding your comment about state machines being proprietary: the Rive format is open source, as are the runtimes. So the community could in theory take this work on if they really wanted to. But it doesn’t make much sense for us to prioritize Lottie export.

H
1y ago

Sorry I think I wasn't very clear!

I'm a motion designer and I usually work with after effects to develop button animations, etc I decided to try rive and really liked!

i've suggested Rive to my client and they are looking into implementing it but of course it takes time.

I would like to continue using Rive to create the animations, to get more used to the software. They are simple timeline animations so I'd think they would be easy to export as json? Otherwise I'll have to go back to AE unfortunately...