Are animations in react-native offloaded to the native renderer, or are they in JS?
Great question. Right now playing the animation with the imperative API in React Native will be driven entirely on the main thread, but the declarative API with `Animated` will not be (yet). I'm very interested in building the proper hooks natively to allow for usage with `useNativeDriver: true`. We are perfectly situated for this too, considering the author of the iOS side was also the engineer who introduced offloa…
Introducing Lottie: Airbnb's tool for adding animations to native apps
61–70 of 101 posts
Re: Introducing Lottie: Airbnb's tool for adding animations to native apps
#62Was the name was inspired by Charlotte "Lotte" Reiniger [1], one of the pioneers of silhouette animation? If not, that's one happy coincidence! [1] https://en.wikipedia.org/wiki/Lotte_Reiniger
Re: Introducing Lottie: Airbnb's tool for adding animations to native apps
#63Re: Introducing Lottie: Airbnb's tool for adding animations to native apps
#64Re: Introducing Lottie: Airbnb's tool for adding animations to native apps
#65Author of the iOS side of things here. Feel Free to ask any questions!
First of all, thank you for making this an open-source project.
I've noticed Airbnb has been very open with the design community about the internal processes and tools, whereas most companies keep their employees under NDAs. So my 2 questions are:
1. Did your team have to advocate for budget to create these tools, to write blog posts and to share them for free, or did Airbnb already had a plan to support this kind of research? How does this "make sense" for the typical budget-oriented PMs?
2. Did your team approach Adobe to see if they were already working on a tool like this? How does the initial planning go for these kind of projects?
Lottie looks super interesting, but the first questions that pop up in my mind are all about the planning and research behind such amazing (side?)projects and the people behind them.
Thanks!
Re: Introducing Lottie: Airbnb's tool for adding animations to native apps
#66I'm sort of surprised that Adobe isn't building these sorts of features into CC and that large corps like Airbnb are having to roll their own! Seems like a big market to ignore.
Aren't they part of Flash? Nowadays the compiler also generates native code.
Re: Introducing Lottie: Airbnb's tool for adding animations to native apps
#67Author of the Android side of things here. Feel Free to ask any questions!
One of the main reasons Android's VectorDrawable is only a small subset of SVG is to stick to only the subset of path drawing that performs reasonably well. How does Lottie deal with this? I know it calls to canvas directly when possible, but canvas.drawPath() is not exactly fast, either. What does the performance actually look like?
Masks and mattes are the feature that incur the largest performance hit because they require allocating a bitmap (8 bit for mattes and 32 bit for masks), rendering to them, then drawing them back to the canvas.
Re: Introducing Lottie: Airbnb's tool for adding animations to native apps
#68This is huge. I did my first internship at a company that was half animators making huge TV ads you have seen, and half web devs/designers that made interactive (web) apps.[0] Lottie is, without a doubt, solving a huge problem in the industry. Previously, engineers were often stuck bolting animations and transients onto static PSDs, or designers fighting to communicate what they wanted an animation to be like. This c…
> Now I just need to learn After Effects Kinda scares me that After Effects (video manipulation tool) will be used for web animation. Photoshop all over again? .ps: I'm in the same boat of having to learn AE. Or at least improve on my basic knowledge of it.
I very much admire people who are adept with it, and sometimes when I watch the opening sequences in films, or certain types of adverts on television, I can even imagine how they might have achieved it with AE - but for me it was a great relief when I never had to use the damn thing again.
(I spent about a year maintaining a proprietary ActionScript library that would render AfterEffects animations - not dissimilar to Lottie, in fact, except almost certainly a whole lot worse, especially the bits I wrote given that there are probably some horses who understand AE better than I did.)
Re: Introducing Lottie: Airbnb's tool for adding animations to native apps
#69I associate AE with video production -- is it actually suitable for vector animation aimed at web/mobile?