Lottie
The example demonstrates rendering vector animation and images in real time. Lottie loads and renders animations and vectors exported in bodymovin JSON format.
It is based on the rlottie library: https://github.com/Samsung/rlottie and the library LottieQuick: https://github.com/dseight/lottiequick. They connect via the plugin aurora-lottie-plugin. In the application, you can add and remove animations with the .tgs extension.
Warning. The example only works starting from Aurora 5. Required packages are missing in version 4.
Build status:
Terms of Use and Participation
The source code of the project is provided under the license, which allows its use in third-party applications.
The contributor agreement documents the rights granted by contributors of the Open Mobile Platform.
Information about the contributors is specified in the AUTHORS file.
Code of conduct is a current set of rules of the Open Mobile Platform which informs you how we expect the members of the community will interact while contributing and communicating.
Project Structure
The project has a standard structure of an application based on C++ and QML for Aurora OS.
- assets directory contains examples lottie animations.
- CMakeLists.txt file describes the project structure for the CMake build system.
- icons directory contains the application icons for different screen resolutions.
-
qml directory contains the QML source code and the UI resources.
- cover directory contains the application cover implementations.
- icons directory contains the additional custom UI icons.
- pages directory contains the application pages.
- Lottie.qml file provides the application window implementation.
-
rpm directory contains the rpm-package build settings.
- ru.auroraos.Lottie.spec file is used by rpmbuild tool.
- src directory contains the C++ source code.
- translations directory contains the UI translation files.
- ru.auroraos.Lottie.desktop file defines the display and parameters for launching the application.