tlottie

Library for drawing lottie animations, written in Rust.

Building (Native)

cargo rustc --release --features c-api --lib --crate-type staticlib
# library will be built at target/release/libtlottie.a
# include headers are at include/tlottie.h

Building (Web)

./examples/web/build.sh
# .wasm will be copied to examples/web/tlottie.wasm

Example on how to work with tlottie.wasm is at examples/web/.

Benchmarks

Frame time, mainly compared to rlottie2019.