Airbnb engineers have developed Lottie which is an open source tool to assist app developers add animations to native apps.
Lottie is a library for IOS, React Native and Android and renders After Effect animation in real time. “Lottie allows engineers to build richer animations without the painstaking overhead of re-writing them,” the team wrote in a blog post. “With Lottie, digging through frameworks for reference, guessing durations, manually creating Bézier curves, and re-making animations with nothing more than a GIF for reference will be a thing of the past.”
Currently supporting dash patterns, trim paths, mattes, masks and more; it has an optional caching mechanism which allows for frequently used animations to load faster. The team’s goal is to help animators and developers integrate animations easily into their applications to increase user engagement as well as increase the overall interactive factor.
Though it is similar to other libraries such as Facebook’s Keyframes, Airbnb engineers say that the team built the project in parallel and hope that it allows for more flexibility for developers to experiment with app animations.