Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lottie #288

Open
yaofly2012 opened this issue Nov 3, 2023 · 0 comments
Open

Lottie #288

yaofly2012 opened this issue Nov 3, 2023 · 0 comments
Labels

Comments

@yaofly2012
Copy link
Owner

Lottie是什么

Lottie is an iOS, Android, and React Native library that renders AE(After Effects) animations in real time, allowing apps to use animations as easily as they use static images.

从官网对Lottie的描述可以看出Lottie的功能和特性:

  1. AE动画播放器
  2. 跨平台
  3. 简单

场景

应用涉及的加载、刷新、小提示、icon 点击或 tab 切换等特定场景下动画。

优点

  1. 简单易操作
  2. 高质量、轻量级
  3. 基于矢量,可扩展性好
  4. 跨平台,适用任何设备
  5. 可交互性

原理

image 1. 设计师在AE中制作完动画; 2. 利用Bodymovin插件将AE生成的`.aep`格式文件转换为Lottie可以解析的`.json`文件; 3. Dev利用特定平台的Lottie库就可以直接渲染动画并绘制在设备上。

参考

  1. 万字长文!从头开始完整梳理动效神器 Lottie 的发展史
  2. Airbnb Lottie
  3. LottieFiles
@yaofly2012 yaofly2012 added the RN label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant