[flow_default] Transcription for 0018_Animating_and_exporting_your_animation_in_Lottie.wav
Browse files
0018_Animating_and_exporting_your_animation_in_Lottie.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"file": "0018_Animating_and_exporting_your_animation_in_Lottie.wav",
|
| 3 |
+
"transcription": {
|
| 4 |
+
"audio_file": "0018_Animating_and_exporting_your_animation_in_Lottie.wav",
|
| 5 |
+
"text": "Okay, now let's get started with Loti. First of all we can go on the LotiFile.com website where there is a lot of information about the plugin. You can also see many examples of animations that were done with Loti, So this is pretty cool. You can click on examples and see how it works. You can change the speed because all of this is done in code. If you remember, you can change the color of the background, whatever you want. And you can even download the JSON file if you want to use it. So there are a lot of free animations that are already created. But we'll see now how to create a Loti animation by ourselves in After Effects. The first step is to install the plugin Loti on your After Effects. So to do so, you go on the lotifiles.com website to the section tools and Adobe After Effects plugin. By clicking on that, you arrive on this page here. I'm just gonna stop the video So on this page you have More information about Loti and you have the download by a plug-in button here So you need to click on that to download the zxp file I'm just gonna click right now. It starts downloading There you go. I have it Now we have our zxp file just like we did when we installed the AEUX plugin. We're gonna have to use the zxp application. So I'm just gonna go here to my application and open the zxp installer. And I'm going to simply drag this zxp file inside of my zxp installer. You are about to install Loti. Yes, okay. Then enter your password. And now Loti file was installed successfully. So it's now available on AfterEffect directly. So if I go to AfterE and I go into Window Extension, I now have a Lodi file. I also have BodyMove-In. So BodyMove-In is the same plugin as Lodi. It's just another version of the plugin. So you can also use BodyMove-In, ZXP, instead of Lodi. Both of them does the exact same thing. It exports your animation into a JSON file. So if you prefer body moving you can just click type body moving ZXP in Google and it will turn out the latest version on GitHub. And you can simply click on download here. Download the Zxp file it's gonna be ready in just a few seconds and then you open it up in zxp installer simply by dragging it inside and you're you're installed to After Effects and now we have both extension available in After Effects, Body Move In and Low T. They both do the exact same thing. It's really just a question of some settings that are different so you can use the one that you prefer. What's fun about Low T is that you can pretty much export any kind of animation that you're going to do in After Effects in code. Almost everything works but unfortunately not everything is supported yet. There are still a few effects that don't work correctly when you try to export an animation from After Effects with body moving or Lottie. Like there will be some expressions that won't work, maybe you'll have some problems with masks or some text effect, distortion or other kind of effect. So here on the Airbnb.io website you can see all the supported features because yes, Lodi is an application, a plugin that was built by Airbnb and you see what is supported, so the shapes, the fill, almost everything works but there are some effects like blending modes, some masks, some text effect that won't work perfectly everywhere. some JSON file that doesn't wait a lot and that is fully a vectorial. So let's say we start from this illustration here made in Illustrator. As you can see everything is in vector format and in order to be able to animate it in After Effects, it's important to make sure that all of the different elements that I want to animate individually are split on different layers. So as you can see in my layer window here, all of the different elements in my illustration that I'm going to want to animate individually in After Effects is on an individual layer. So I'm just going to go to After Effects now and import this illustration in After Effects. So in After Effects, if I double click on my project panel, I can import any file I want. I'm going to select my illustration that I was showing you just a few seconds ago. And it's important that I choose composition instead of footage here. By choosing composition, I make sure that I retain all of my layers and composition retain layer size will, I'll make sure that all of my layers will be constrained into their particular layer size. So this is what you want to choose. If you choose footage, your illustration will be completely flattened so you won't be able to animate the individual elements. So I'll import this, just click on open. Now I have a composition here with all of my different layers that I had in illustration that were imported to After Effects. Now there's another important step to do before we start animating to make sure that our animation that we export is in vector format because right now the illustration file that we imported all of the different layers are as images so if we export if we do our animation with this and we export it with Loti they're all going to be exported as PNG file. And we don't want that. We want to keep the vector format. So an easy way to do it is just to select all of our layers here that come from our Illustrator and just right click, go to Create and create shapes from vector layer. So by creating shapes with vector layer, what I'm actually doing is vectorizing all of the vectors that I all of the illustration layers I imported into shapes. So now I have my all of my layers that are after effect shapes and I'm ready to start my animation. So I'm not gonna go I'm not gonna go and animate everything right now with you guys because it would take a while and we already saw how to animate in After Effects. So I'm gonna jump at the end and show you the end result with the animation. the And then you go either on body moving or low team. I'm gonna show you both. So if you use body moving It opens up a window where you can select first of all which Which one of your composition you want to export so I'm gonna select this one here You can select where you want to save it. So I'm just gonna call it Mark because it's the name of the character. And into settings you have a bunch of settings that you can select here. So I'm gonna go a bit fast through all the settings because they're not really quite that important I think. Always leave it the way it is. It's the glyphs. So by clicking this, you can convert all of the fonts that you have into shapes. So this is good if you're using fonts in your animation and you want to make sure that your animation will work on any computer and you don't have to load the fonts. If you want to have the hidden layers be exported. If you want to export the guides and so on. One that is fun to use is the demo. So by clicking demo you'll have also an HTML file, so an index.html file that will be exported with your JSON file. So you'll be able to test your animation and make sure that it works well in HTML. So I'm gonna select this and just click on save. Then I'll go and click on render. So now I'm rendering my animation it's pretty fast and once it's done you can just click on done and now if I go here I have my demo with my HTML file I can just click and see my animation. The background was not exported because the background was transparent. That's what I wanted. I wanted to be able to change the color of the background directly in HTML. But as we can see, the animation works really perfectly even in HTML and this is all done with code. So this is no longer a after effect or a video animation. It's really all done in code and in vector format. So it weighs really nothing. It's just 273k instead of many megs if you were to export a video. So this is the first way to do it. You could also just use the low t file extension. So by clicking on it you have this window here. You can choose which one you want to export. So I'm going to choose 31 here. Now it's rendering. And we have our animation here. We can see a preview. So that's fun. We can also change the color of the background, but it just changes the color of the preview that we see here. And when we're ready, we can save to the computer our JSON file or dot-lot file Just a JSON file will do We select where we want to save it And there we go we have two JSON files They as you can see both of them are 273K because they're both the exact same thing. So now we have our JSON files and we're ready to import them into our website. It's that simple.",
|
| 6 |
+
"language": "en",
|
| 7 |
+
"duration": 760.15,
|
| 8 |
+
"timestamp": "2025-11-26T13:55:39.520674"
|
| 9 |
+
},
|
| 10 |
+
"timestamp": "2025-11-26T13:55:39.542252",
|
| 11 |
+
"processing_time_seconds": 146.66971683502197
|
| 12 |
+
}
|