Unlimited PS Actions, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:9Length:50 minutes
  • Overview
  • Transcript

3.2 Animate the Mail Icon

In this lesson you will learn how to animate the mail icon in Adobe After Effects. Some of the topics in this video will include how to use the Trim Paths Tool and the use of keyframes.

3.2 Animate the Mail Icon

Hi everyone and welcome back to the animated icon course. In this class we'll be going through how to animate all our icons starting with the mail icon. So the first thing that we want to do is we want to create a null object just so that we can adjust the size and scale of everything that we're creating easily. So to do this, lets go to Layer, New, and Null Object. And what I'm going to do from here is I'm going to parent that to the null object by clicking on this icon here and dragging it to Null 1. You can also use the drop down menu here, and selecting Null 1 from the menu, perfect. Now I'm just going to hide the null object just so that it doesn't interfere with our creation process. So just clicking the eye icon here to hide it, and I want to create a background for our animation as well. So let's go over to Layer, New, and Solid. I'm going to keep this solid as white, but you can easily change the color of your background at the bottom here, if you want to. So I'm going to click OK, dragging the white background down to the bottom. And I'm going to lock it by clicking on the lock icon here. Now the icon is ready to be animated. So we'll start off by opening the icon here. Going over to Contents, and going to Trim Paths. Now this is where we were experimenting and testing our animation before. So let's go ahead and make some keyframes by going to the first frame. Now I want the icon to appear from nothingness, so animating from nothingness. So I want the start to be a 100%, so the animation or the icon is not visible. And we'll create a keyframe by clicking here. Then I'm going to move to about let's say point 19, so 19 frames. And I'm going to create a new keyframe, and let's have the icon stop at around here. So I want the last part of the animation, this stroke, to be emphasized when we're doing the final animation. And that last stroke will appear let's say at about here, so at one second. So once the one second is over, the full animation or the full icon will be visible, like so. Just stopping here, and the next thing I want to do is I want the icon to sort of rotate round whilst it's being spawned. So let's go to transform and making sure you're in the first frame again. Go to Rotation, click on the keyframe, and at about the same time the animation stops here, I want the rotation to stop. So let's click 360 degrees on the keyboard. So now when we test our animation, you can see that the icon rotates whilst it's being spawned, or whilst it's being created. And once it's finished rotating, the last part of the icon finishes, which is kinda cool. Now the next thing that we want to do is we want to make the animation a bit smoother. So let's go ahead and select these keyframes. We're going to right click on the keyframe, go to Keyframe Sssistant, and select Easy Ease or F9 on the keyboard. And we want to do the same thing with trim paths. So make sure that you select the keyframes from trim parts, right click, go down to Keyframe Assistant and then Easy Ease or F9 on the keyboard. Cool, so the next thing we want to do after that, now that the animation is a little bit smoother, is we want to add some motion blur to the animation. So to enable motion blur, first of all, we need to click on this button here which enables motion blur. Making sure that that's selected. Now let's go over to our icons, icon mail Outlines, making sure that this layer is selected here, and select motion blur. So now when we test our icon, you can see, that there's a bit of blur or motion blur as the animation moves, which looks kinda nice. Excellent, so now that we've got our icon animated, it's time to create the button. So let's go ahead and make sure that none of our layers are selected. So just, clicking outside of the box, here. I want to create the actual button itself. So, the way that we do this is going over to our shapes tool here. I'm going to click and hold on the rectangle, and select Eclipse Tool. From there, let's draw out a circle. So, by holding shift on the keyboard, I can draw out a perfect circle. And I'm just going to move it into the center of our button, like so. I'm just moving up a little bit. Cool, now I want this stroke color to be a different color. So just to begin with, let's choose a very light gray. So this will act as a sort of loading bar for when we click on the button, it will load up and then it will sort of move on to the next page, or the other contact page. So let's choose a very light gray, like so. So now let's rename this shape layer into circle by right clicking on the layer, going all the way down the menu, clicking on Rename. I'll just click Circle, and then, with the circle that I selected, press Ctrl+D on the keyboard to duplicate it. Now with this circle I'm going to rename it Loading. And for this circle, let's choose a different color. So I'm going to choose a bright blue color. And we're going to make this circle load, so let's open this up. Make sure add and add trim paths. And then with trim paths open, again, we can test the animation like so. Or we can even make the animation go the other way with end instead of start. So let's end at zero, so making sure the first frame selected we're going to creates a new keyframe at the start. So end at zero, in fact, let's start our keyframe somewhere else. So we're gonna start the keyframe once the animation is complete. So making sure the animation is completed, so let's say about here. In fact that's gone a bit too far. Now we want to leave some space for the button press animation as well. So I'm going to go at about 1 second 21. Click on the keyframe, and then let's have, let's have it last till about three seconds. So let's go to three seconds here, Create a new keyframe and let's have it end 100%. Now you'll notice here that the line is very, very sharp. So let's change that, let's go to Stroke, here. And then we can change the Line Cap from Butt Cap to Round Cap. And now you can see that it's being animated. The line is now round, which fits in with the design of the rest of our icons. Excellent, So let's make sure that our trim paths are at 100%. So now the loading bar goes all the way up to 100%. Now the next thing we want to do is create the button press animation. So let's close these all down, And we want to select our null object. And making sure everything here is parented to the null object. So let's go ahead and select Null apart from our background cuz our background doesn't need to move at all. And now let's select the null object, open it up, go to Transform, and we're just going to play about with the Scale. So we want the button press animation to start just after the animation of the icon is complete. So let's go over to about here, 1:07, and that's changed the scale, so let's press this button here to create a keyframe. And then at about 1:11, we want the button to be pressed. So let's scale this all down to about let's say 93%. Then it's going to bounce back up again. That's about 114, so it's gonna have a quick bounce. So let's have it bounce up to about 102%. And then it's going to go back to its original shape, 100%, fairly quickly to about 1:19. So let's input 100 here, and again let's make the animation smooth by selecting all the ke frames, right clicking, going to Keyframe Assistant, and then clicking on Easy Ease. And there we have our button animation. Down, up, and then back down again. Cool, so just testing here. The animation finishes, the button presses, and then it loads. You can also preview your animation by clicking on this here. And there we have it. So that's our first animation using our mail icon. In the next lesson, we'll go through how to animate our next icon, which is the lock icon, see you there.

Back to the top