rlottie

Report on GitHub

Plays Lottie vector animations inside LVGL widgets. Enable with LV_USE_RLOTTIE in lv_conf.h.

Rlottie animation from array

Play a Lottie animation decoded from a JSON byte array in flash.

lv_rlottie_create_from_raw builds a 100x100 Lottie widget from the externally declared lv_example_rlottie_approve JSON data, and the widget is centered on the active screen.

Rlottie animation from file

Play a Lottie JSON file loaded directly through the rlottie stdio path.

lv_rlottie_create_from_file opens lvgl/examples/libs/rlottie/lv_example_rlottie_approve.json as a 100x100 widget centered on the active screen. The path has no LVGL drive letter because rlottie reads the file through its own STDIO API rather than through the LVGL filesystem.

How is this guide?

Last updated on

On this page