lottie-renderer-bevy

Crates.iolottie-renderer-bevy
lib.rslottie-renderer-bevy
version0.1.0
sourcesrc
created_at2024-05-05 14:10:41.215922
updated_at2024-05-05 14:10:41.215922
descriptionBodymovin lottie file renderer using Bevy engine
homepage
repositoryhttps://github.com/zimond/lottie-rs/
max_upload_size
id1230250
size84,093
Zimon Tai (zimond)

documentation

README

lottie-render-bevy

A Lottie JSON file renderer using Bevy as the rendering engine

lottie-render-bevy

Using Bevy as the engine to render Lottie files.

Bevy is chosen as a renderer because:

  • It is relatively mature, has an active community and clean design
  • Allows interacting with entities as a game engine, this enables future interactive Lottie file editing apps
  • Supports both 2D and 3D
  • Supports lyon, which is a good choice for vectorized graphics rendering on GPU

Known limitation

Audio looping

Due to https://github.com/RustAudio/rodio/issues/176 , Bevy do not support audio seeking, so audio playback when looping animation in this renderer is bugged.

We may try to directly use Symphonia to play audio in the future.

Commit count: 203

cargo fmt