12.5 C
New York
Tuesday, August 11, 2020
Home News Airbnb’s Lottie helps fellow developers add animations to their apps

Airbnb’s Lottie helps fellow developers add animations to their apps

Why it matters to you

Animations help give an app life and energy, but they’re also very pleasing to the eyes. Who can pass up an animated watermelon?

Airbnb might be best known for short-term rentals, but its engineers also created Lottie, which could be a handy tool for developers who want to incorporate fancy-looking animations to their native apps.

Created by Airbnb engineers as a side project, Lottie lets developers incorporate After Effects animations in real time without the need to rewrite them. At the time of this writing, Lottie supports masks, alpha mattes, trim paths, solids, and dash patterns, with more being added “on a regular basis.” There is also an optional caching mechanism that allows frequently used animations to load faster.

More: Splitting the cost of your Airbnb could get a lot easier if Tilt rumors are true

“Lottie allows engineers to build richer animations without the painstaking overhead of rewriting them,” wrote the team in a blog post. “With Lottie, digging through frameworks for reference, guessing durations, manually creating Bézier curves, and remaking animations with nothing more than a GIF for reference will be a thing of the past.”

The end result are animations that are visually pleasing and have a sense of life and energy to them, factors which Airbnb engineers hope will lead to increased engagement or interactivity for developers’ apps. You might even see Airbnb incorporate Lottie into its own app, so do not be surprised if you see more animations with a future update.

Airbnb engineers did recognize that other libraries similar to Lottie already exist, such as Facebook’s Keyframes and Marcus Eckert’s Squall. With Keyframes, though, Facebook picked a small set of After Effect features to support for its reactions, while Airbnb engineers want to incorporate as many features as possible within Lottie. Squall, meanwhile, is used in combination with Lottie, but the former only supports iOS, and Airbnb engineers wanted Lottie to be cross-platform.

Lottie is currently available for iOS, Android, and React Native.


The best Google Pixel 4a cases and covers

The Google Pixel 4a is a powerful midrange phone. Protect it with the best choices for any style and budget.

Master the Art of Photography With 38 Hours of Training for $40

Anyone can take one great photo. But if you want to produce incredible images time after time, The Professional's Guide to

Everything we know about Resident Evil Village (so far)

The next Resident Evil game has been announced, and it's looking like nothing this series has done before.The Resident Evil

Hoop’s affordable 1080p HD Home Security Cameras are now 50% off at Amazon

You don't have to spend hundreds of dollars for a home security system that lets you check in on what's