A Lottie file toolkit written in Rust.
The following samples are gathered from lottiefiles.com community and lottiefiles.github.io. Credits goes to original owners/creators of the files.
| Name | Preview |
|---|---|
| Confetti | |
| Techno Penguin | |
| Nyan Cat |
The default player implementation uses Bevy to render the animation.
cd crates/player
cargo r --release -- --input ../../fixtures/ui/drink.jsonThere are some lottie files for demonstration purpose under fixtures/ui
Exporting animation headlessly is also supported, aiming to render animations on a server. Currently we support
webp exporting for test purpose.
cd crates/player
cargo r --release -- --input ../../fixtures/ui/drink.json --headlessThis library uses font-toolkit to manage/load/use fonts, which is also MIT-licensed.