Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Designer was feeling high that day..

Slide 3

Slide 3 text

Developer was feeling low that day..

Slide 4

Slide 4 text

With Lottie, all are happy!

Slide 5

Slide 5 text

Lottie Animating the bridge between Designers and Developers

Slide 6

Slide 6 text

Animations in Mobile 1. Building Animations by hand 2. Facebook Keyframes 3. GIFs/PNG sequences 4. Animated Vector Drawable (Android) 5. Quartz 2D (iOS) 6. Lottie for Android / iOS / Web / React

Slide 7

Slide 7 text

We have a winner

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

What is Lottie? Umm.. Lotte Choco Pie?

Slide 10

Slide 10 text

Lottie is named after a German film director and the pioneer of silhouette animation, Lotte Reiniger. Papageno

Slide 11

Slide 11 text

Lottie Lottie is a tool by Airbnb that parses Adobe After Effects animations exported as json with Bodymovin and renders them on mobile.

Slide 12

Slide 12 text

What else? Now engineers can use exactly what the designer intended, exactly how it was made

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

“Dropping this into the app felt almost like cheating; I’d never implemented a complex animation in so little time.” - Nick Butcher, Google

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

Inspired by Squall, Keyframes, RubberHose, 9 Squares Motion Corpse, Animography

Slide 18

Slide 18 text

Workflow After Effects Bodymovin Lottie

Slide 19

Slide 19 text

The Experiment Lottie can build animations in no time while creating them by hand can be daunting.

Slide 20

Slide 20 text

How it works? It’s easier than you think. Almost magical

Slide 21

Slide 21 text

Create an animation in AE

Slide 22

Slide 22 text

Export using Bodymovin

Slide 23

Slide 23 text

Bodymovin JSON output Bodymovin renders animation by iterating layers from After Effects in non-readable JSON.

Slide 24

Slide 24 text

Upload on lottiefiles.com

Slide 25

Slide 25 text

Scan QR Code

Slide 26

Slide 26 text

Lottie Android 1. Add Lottie dependency to your app gradle. 2. Add lottie-file.json to your project assets.

Slide 27

Slide 27 text

Lottie Android 3. Use LottieAnimationView in XML or Java/Kotlin file.

Slide 28

Slide 28 text

Lottie Android To reuse animation (like in list items), load from a network request JSONObject.

Slide 29

Slide 29 text

Lottie Android Load animation through a file from assets folder or from the network.

Slide 30

Slide 30 text

Lottie Android Control the animation or add listeners.

Slide 31

Slide 31 text

Lottie iOS 1. Add Lottie using Cocoapods or Carthage. 2. Add lottie-file.json to your project.

Slide 32

Slide 32 text

Lottie iOS 3. Use LottieAnimationView in Objective-C/Swift file.

Slide 33

Slide 33 text

Hands on & • Installing BodyMovin Plugin in Adobe After Effects. • Creating an Animation in After Effects and render it using BodyMovin. • Creating cool Animations in Android using Lottie. Lets do some

Slide 34

Slide 34 text

Pros 1. Simple Workflow 2. Cross Platform 3. Feature & API Support (>API 14) 4. Progress / Scale / Speed Control 5. On Demand Animations

Slide 35

Slide 35 text

There are more.. 6. It supports loading JSON files over the network, which is useful for A/B testing. 7. It also has an optional caching mechanism, so frequently used animations, such as a wish-list heart, can load a cached copy each time. 8. Lottie animations can be driven by gestures using the animated progress feature, and animation speed can be manipulated by changing a simple value. 9. Text Delegate for text animations for say Internationalisation. 10.Specify layer and mask it for interactive Animated Transitions or change colour of any layer.

Slide 36

Slide 36 text

Cons 1. Performance issues with complex animations. 2. Black Boxes because of non-readable JSON. 3. Its method count is 1057. Comp MC(Picasso) = 849 and MC(Glide) = 2879. Its dex count is 142. Comp DC(Picasso) = 106, DC(Glide) = 403. 4. Doesn't work with all text animations. Workaround: Convert text to Shapes/Masks. 5. Masks and mattes are less performant as Lottie renders layers using buffer for such animations. Workaround: use lesser frame rate.

Slide 37

Slide 37 text

Who uses Lottie?

Slide 38

Slide 38 text

References • http://airbnb.design/redefiningboundaries • http://airbnb.io/lottie/ • https://github.com/airbnb/lottie-android • https://blog.prototypr.io/a-lottie-to-like-6670f2bed3c5 • http://www.videocopilot.net/basic • http://www.lottiefiles.com

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

Lottie and The Noun Project on open-source animated icons. Modern Pictograms for Lottie

Slide 41

Slide 41 text

Complimentary Tools Bringing Sketch and After Effects closer together

Slide 42

Slide 42 text

Sketch2AE

Slide 43

Slide 43 text

Inspector Spacetime

Slide 44

Slide 44 text

Thank You! Nattu [Lead Product Designer at ServisHero] Jaspal Singh [Designer at ColorBlind] Garima Jain [Senior Android Dev at Fueled]

Slide 45

Slide 45 text

Here’s a silhouette shot by me at Kheer Ganga, HP

Slide 46

Slide 46 text

With Love Chetan Sachdeva [Android Dev at Fueled] @chetsachdeva