npm.io
1.5.1 • Published 10 months ago

@galacean/engine-lottie

Licence
Version
1.5.1
Deps
1
Size
537 kB
Vulns
0
Weekly
0
Stars
15

Galacean Lottie

npm-size npm-download

This is a lottie runtime created by Galacean Engine. It is high-performance owing to drawing all sprites in batch, which is different from svg or canvas renderer of lottie-web.

See more info: documentation

Features

  • Sprite element: transform and opacity animation.
  • Text element
  • 3D rotation: rotate element in 3D space.
  • Animation clip: play animation clip.

TODO

  • Sprite mask
  • Shape element
  • Expression

Usage

See: https://galacean.antgroup.com/engine/docs/graphics/2D/lottie/

Install

npm i @galacean/engine-lottie --save

Contributing

Everyone is welcome to create issues or submit pull requests. Make sure to read the Contributing Guide before submitting changes.

Dev

1.Clone this repository and install the dependencies:

npm i

2.Run the example:

npm run example

License

MIT