Book Image

UI Animations with Lottie and After Effects

By : Mireia Alegre Ruiz, Emilio Rodriguez Martinez
Book Image

UI Animations with Lottie and After Effects

By: Mireia Alegre Ruiz, Emilio Rodriguez Martinez

Overview of this book

Lottie is a small and scalable JSON-based animation file. LottieFiles is the platform where Lottie animations can be uploaded, tested, and shared. By combining the LottieFiles plugin and the LottieFiles platform, you’ll be able to create stunning animations that are easy to integrate in any device. You’ll also see how to use the Bodymovin plugin in After Effects to export your animation to a JSON file. The book starts by giving you an overview of Lottie and LottieFiles. As you keep reading, you’ll understand the entire Lottie ecosystem and get hands-on with classic 2D animation principles. You’ll also get a step-by-step guided tour to ideate, sketch for storytelling, design an icon that will fulfill the needs and expectations of users based on UX, and finally animate it in Adobe After Effects. This will help you get familiar with the After Effects environment, work with vector shape layers, create and modify keyframes using layer properties, explore path and mask features, and adjust timing easily to create professional-looking animations. By the end of this animation book, you’ll be able to create and export your own Lottie animations using After Effects and implement them in mobile apps using React Native. You’ll also have an understanding of 2D animation best practices and principles that you can apply in your own projects.
Table of Contents (16 chapters)
1
Part 1 - Building a Foundation With After Effects and LottieFiles
5
Part 2 - Cracking Lottie Animations
9
Part 3 - Adding Your Lottie Animations Into Mobile Apps

Conventions used

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "We will do so by going into the ios folder inside our React Native project."

A block of code is set as follows:

"peerDependencies": { 
    "lottie-ios": "^3.2.3", 
    "react": "*", 
    "react-native": "|=0.46" 
  }, 
  "dependencies": { 
    "invariant": "^2.2.2", 
    "prop-types": "^15.5.10", 
    "react-native-safe-modules": "^1.0.3" 
  }

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

include ':lottie-react-native' 
project(':lottie-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/lottie-react-native/src/android')

Any command-line input or output is written as follows:

npm i --save lottie-react-native

Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "Let's open up AE and click on the Create a New Project button."

Tips or Important Notes

Appear like this.