8 - Motion Graph

13 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€94.93
List Price:  €132.91
You save:  €37.97
£79.03
List Price:  £110.65
You save:  £31.61
CA$140.06
List Price:  CA$196.09
You save:  CA$56.03
A$153.89
List Price:  A$215.46
You save:  A$61.56
S$134.42
List Price:  S$188.19
You save:  S$53.77
HK$778.15
List Price:  HK$1,089.44
You save:  HK$311.29
CHF 88.46
List Price:  CHF 123.85
You save:  CHF 35.38
NOK kr1,106.89
List Price:  NOK kr1,549.69
You save:  NOK kr442.80
DKK kr708.13
List Price:  DKK kr991.41
You save:  DKK kr283.28
NZ$169.76
List Price:  NZ$237.67
You save:  NZ$67.91
د.إ367.26
List Price:  د.إ514.19
You save:  د.إ146.92
৳11,913.94
List Price:  ৳16,679.99
You save:  ৳4,766.05
₹8,449.26
List Price:  ₹11,829.30
You save:  ₹3,380.04
RM444.65
List Price:  RM622.53
You save:  RM177.88
₦168,698.12
List Price:  ₦236,184.12
You save:  ₦67,486
₨27,703.14
List Price:  ₨38,785.50
You save:  ₨11,082.36
฿3,443.25
List Price:  ฿4,820.69
You save:  ฿1,377.44
₺3,462.60
List Price:  ₺4,847.78
You save:  ₺1,385.18
B$598.25
List Price:  B$837.57
You save:  B$239.32
R1,818.71
List Price:  R2,546.27
You save:  R727.55
Лв185.54
List Price:  Лв259.76
You save:  Лв74.22
₩139,623.30
List Price:  ₩195,478.21
You save:  ₩55,854.90
₪365.09
List Price:  ₪511.14
You save:  ₪146.05
₱5,872.56
List Price:  ₱8,221.82
You save:  ₱2,349.26
¥15,186.98
List Price:  ¥21,262.38
You save:  ¥6,075.40
MX$2,025.91
List Price:  MX$2,836.36
You save:  MX$810.44
QR363.39
List Price:  QR508.76
You save:  QR145.37
P1,362.02
List Price:  P1,906.89
You save:  P544.86
KSh12,948.70
List Price:  KSh18,128.70
You save:  KSh5,180
E£4,970.06
List Price:  E£6,958.29
You save:  E£1,988.22
ብር12,601.88
List Price:  ብር17,643.14
You save:  ብር5,041.25
Kz91,089.09
List Price:  Kz127,528.37
You save:  Kz36,439.28
CLP$97,725.22
List Price:  CLP$136,819.22
You save:  CLP$39,094
CN¥725.08
List Price:  CN¥1,015.15
You save:  CN¥290.06
RD$6,009.89
List Price:  RD$8,414.09
You save:  RD$2,404.19
DA13,359.34
List Price:  DA18,703.61
You save:  DA5,344.27
FJ$226.94
List Price:  FJ$317.73
You save:  FJ$90.78
Q769.20
List Price:  Q1,076.91
You save:  Q307.71
GY$20,858.96
List Price:  GY$29,203.38
You save:  GY$8,344.42
ISK kr13,737.62
List Price:  ISK kr19,233.22
You save:  ISK kr5,495.60
DH998.96
List Price:  DH1,398.59
You save:  DH399.62
L1,830.82
List Price:  L2,563.22
You save:  L732.40
ден5,834.63
List Price:  ден8,168.72
You save:  ден2,334.08
MOP$798.95
List Price:  MOP$1,118.57
You save:  MOP$319.61
N$1,808.86
List Price:  N$2,532.48
You save:  N$723.61
C$3,668.81
List Price:  C$5,136.49
You save:  C$1,467.67
रु13,468.97
List Price:  रु18,857.10
You save:  रु5,388.12
S/375.25
List Price:  S/525.36
You save:  S/150.11
K402.01
List Price:  K562.83
You save:  K160.82
SAR375.60
List Price:  SAR525.86
You save:  SAR150.25
ZK2,719.29
List Price:  ZK3,807.12
You save:  ZK1,087.82
L472.45
List Price:  L661.45
You save:  L189
Kč2,399.23
List Price:  Kč3,359.02
You save:  Kč959.78
Ft39,362.83
List Price:  Ft55,109.54
You save:  Ft15,746.71
SEK kr1,093.94
List Price:  SEK kr1,531.56
You save:  SEK kr437.61
ARS$100,789.45
List Price:  ARS$141,109.26
You save:  ARS$40,319.81
Bs688.98
List Price:  Bs964.60
You save:  Bs275.62
COP$439,886.78
List Price:  COP$615,859.09
You save:  COP$175,972.31
₡50,922.11
List Price:  ₡71,293
You save:  ₡20,370.88
L2,521.57
List Price:  L3,530.31
You save:  L1,008.73
₲779,303.12
List Price:  ₲1,091,055.54
You save:  ₲311,752.42
$U4,282.79
List Price:  $U5,996.09
You save:  $U1,713.29
zł409.03
List Price:  zł572.67
You save:  zł163.63
Already have an account? Log In

Transcript

Okay, how animation is done in After Effects is by the use of keyframes. So here I just created a composition with two squares. It's a blue background on here. So if I want to move these across the screen, the way I would do that is layer one, and it's here and I can hit p for position. And the stopwatch right here will set what's called a keyframe and you'll see that show up right here. Now mine shows up as this little diamond.

The default for After Effects is to do an auto Bezier curve, which we'll get into here. Down here there's little auto Bezier which are the handles just like when we were using the pen tool, you have the Bezier handles. I have changed mine If you go up to After Effects to preferences, and general and here I checked marked as default spatial interpolation to linear. I like to have more control over my keyframes within the graph editor and the interpolation, I want it to be linear. And I can always change it back to auto Bezier. And I'll explain why this is important once we get into the graph editor, but if you want to follow along or wonder why your keyframes and the graph editor look a little bit different than mine, it's because I change this right here, this default spatial interpolation, spatial interpolation to linear.

So what I have here is I set this at the beginning. And that locks it into this position. Now if I play this, obviously, nothing happens. It doesn't move, even though we have this keyframe because after effects doesn't know where it wants me to move this to what point and how far does it know how fast it doesn't know any of that stuff? All it knows is that okay, you want me to remember where this is at this moment in time. So let's go ahead a couple seconds and you can do this a couple ways.

Usually use the numbers here just to get it a little bit more accurate. But you can also in the selection tool, you can just grab this and move it. Now, it starts to create this line which shows you the direction it's going to go and it's straight, which is fantastic. If I hold Shift, it allows me to only move in the initial direction I started. So if I move it all the way to this side, a couple of things are showing up here. One, it shows the path.

And this path is always on the anchor point. So the anchor point is in the center, which we talked about the anchor point how you can move this and how it's very important, which we'll get to, especially with rotation. But here, and if you is where it moves, and these little dots show how quickly It's moving. Now notice it's very static it to set this here. So it's going to move at a constant speed. starts and it ends very abruptly, because it's moving at a constant speed.

Now we can change that. This is the constant speed. This is what it comes up as this is what it looks like in the speed graph. There's different types of graphs you can use here. I don't want this to be super extensive on the graph part. But you do have to understand a little bit what's going on here.

So this right here is a speed graph. There's also a value graph, which I don't use too much, I use mostly the speed graph. So this shows me that at this point, it starts moving at 689.3 pixels per second. And that's it just constant until it is at zero. and it stops. That is straight across.

There's nothing happening there. It's straight, and that's represented here with these dots. They're all evenly spaced, so you can see that now if we take shape to actually you know what I'm gonna do, I'm gonna delete this. Take this duplicated it here. So we have these exact same keyframes and you select the layer and then hit you, it brings up only the keyframes in that layer so you don't end up with having to drill down all these menus to find it. I'm going to grab this and just move it down and notice that the entire thing is moving.

That's important. And the reason that's happening is because I'm on one of the keyframes and I selected, where the keyframes are for position, which is what I'm changing, therefore it moved the entire thing if you don't do that, you will actually end up making another keyframe and it'll go from that keyframe to the next keyframe and it gets really bad. So now what we have is these two moving exactly the same. straight across, it's linear. Okay, so let me take this one here. I'm going to hit f9 And it changes these two E's.

So it's easing out of here and easing into this spot here. So and if you notice the dots are much closer together here and farther apart here and closer together here, meaning it's going slower here, very fast here and slower here. What do you have to think about what these dots is, the farther apart they are, the faster your object is moving, because it has to get from this point to this point in one frame, each of these frames, and that's a long distance to travel in one frame. So let's go really fast if you're over here, and it's really close. Now, let's zoom in here. Now you only have this distance to travel in a frame and you could go nice and slow.

Hey, so here extremely fast as to get between these two dots very quickly in one frame, here in one frame is going hardly any length, so it's going to go slower. So Let's see how these two compare this one's still linear, this one is ease with F nine, just your standard easy's. Two they both take off and they both arrive at the exact same time at two seconds. But notice the difference. Okay? Now if you want to change this even more, you can go to this one that's easy.

And notice it starts at zero and ends at zero versus this one starts at the speed and ends at that speed, which we talked about. Here, if I want to influence this, you can select your keyframe and then this gives you an influence handle. And if I pull this over, notice what's happening to my dots. They're getting much much farther apart here, much tighter and closer here. Which means if we look at our graph, and we look at the dots, compare them, it's going to start up really fast goes and then slowly ease into this. Our graph is telling us the speed at which it's going if I push this even more this way, now it's going extremely fast up to very, very fast and then down.

But again, the, the distance it's traveling, start and stop and starting and ending time is going to be exactly the same as the one on top, just what happens between them. Now it looks like this one at the bottom arrives before this one, but it actually doesn't it's easing into that final keyframe, very slow here at the end. So it's actually still moving, even when it looks like it has stopped because of this. And you can grab this handle and ease that over a little bit more. We can ease this one over a little bit more and it goes even faster at the beginning. Okay, this is important because this is what is going to create our movement and when I start animating cup.

And I want to get different motions in there, I'm going to be messing with these keyframes and the easing in and the speed to get that nice, even natural looking flow. See if we move this way over like this. We're back to something that looks a lot like the top one. Except the differences, it starts at zero and ends at zero versus this one starting at that speed and ending at that speed. So let's look at what this looks like compared to the top because it's easing from zero and has to kind of start and then it has to slow down versus just start and stop, boom, boom, straight across, which is what this one's doing. It takes a lot to the graph editor is very tough.

It's like the pen tool in that it's just going to take practice trial and error but dive into it. Do not be scared of it and force yourself To use it because the more you use it, the more you understand and I'm still learning, the better your animations are going to get. Now when I make these, let's make a third, make a third one here. And I'm going to I'm going to hide this one. And I'm going to grab this, and I'm going to bring it down to here, okay? So this all being linear, it's just going to go straight to here, and then straight down to there.

And stop. So let's look at that. Here. They're kind of like Pac Man, Pac Man messing around, like we can make this look like a ghost to be cool. Okay, so now when I open this up, now look here what we have, this is where the interpolation and when I went to my preferences, it's split this one to make it linear. If you make these What it normally is, which is the auto resume.

That's what it looks like. So it becomes much more of a flowy that eases in and out. So it's After Effects tries to help you out to make your animations flow and to give it a little bit more fluidity. But I don't always want that. And so I want it to be linear. And the reason I want it to be linear is so that I have full control over what is happening here.

And I don't end up with a curve when I don't want to curve. Okay, so sometimes you sometimes you don't want that, like if I move this up here. Now I'm creating this curve, and maybe I want that curve. But now I can grab this, move it all the way to zero. And now I can start influencing these. And you can hit this button here will fill it to view.

So now it's only the graph itself. line these up like this. And maybe I want this to start at zero. So you can see that now I have full control over For everything and I can influence each one individually it gives me much more control. Now of course, it's going to be a little bit more work. But it's not as much work as if you had to mess with the auto Bezier ones.

Snappy grab this here is fine. Let's have this ease in like this. We want this to be kind of straight. There we go. Alright, so let's just give this a look. speeds up.

Now again, remember that this is not the path. This is not the path, this is only the speed at which it's going. So it starts up speeds up to there and then quickly drops down. Okay. Like I said, it can be very confusing. jump into it, use it You're going to use it a lot when we use this animation as well.

It can be very confusing. If you don't want to deal with any of this stuff, do not change your effect up here. And you can just always have this auto Bezier like this. But see now with this one, if you notice they stay together. But now it makes it a little, a little tougher to manipulate as well. Okay, so just just an option.

You can also just always go to here, and I have all those and I can just hit f9 with all of them. Now let's look at it. Now f nine goes from zero is into zero, he's out and back to zero. That's what it does, then you can grab this, and really it's just a Bezier. It's an auto Bezier again, give it I'm going to take that bow out of there a little bit. So now it's going to ease from zero across It's fun.

It takes a lot of work, but get into it dive into it. Alright, let's start anime or coffee cup.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.