skia2/site/docs/user/modules/skottie.md
Eric Boren 04fe267ab9 Fix some master -> main references in docs
Bug: skia:12478
Change-Id: I4e2bc1eb441c19d7b4cf2bcea65b852f7f0aa59b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/453136
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2021-09-27 14:52:24 +00:00

3.5 KiB

title linkTitle weight
Skottie - Lottie Animation Player Skottie - Lottie Animation Player 10

Skia now offers a performant, secure native player for JSON animations derived from the Bodymovin plugin for After Effects. It can be used on any platform where you are using Skia, including Android & iOS.

The player aims to build upon the Lottie player widely used for animations today, improving on the performance, feature set, and platform cohesiveness for our clients. We are big fans of the Bodymovin format and where possible, contributing advancements back to Bodymovin/Lottie.


Sample JSON animations

Here are some test samples rendering with Skia's animation player:

*Sample animations courtesy of the lottiefiles.com community


Test server

Test your Lottie files in our player at https://skottie.skia.org


The code

Skia's animation code entry point can be found here on Googlesource and GitHub. The code is part of Skia's library but can also be made available as a separate package.


Embedding examples

Sample C code for using the Skottie native player can be found here.

Android app code for inspiration can be found here.

Example code embedding Skottie into our Viewer app is here.

The Viewer or Skottie Android apps can be built following these instructions.