1
00:00:01,150 --> 00:00:07,120
This is the price chart that we are going to create in this lecture I noticed has only three slices

2
00:00:07,980 --> 00:00:11,550
and we are going to do it in a certain way where we are not going to use any key frames.

3
00:00:11,560 --> 00:00:17,500
We are going to use all the expressions and is very easy very simple and you will learn how to compound

4
00:00:17,800 --> 00:00:21,290
these slices values to have a 100 percent.

5
00:00:21,370 --> 00:00:28,510
Now starting from here you will be able to create any pie with 10 20 slices and as many as you want.

6
00:00:29,140 --> 00:00:30,750
So let's jump in.

7
00:00:31,060 --> 00:00:38,980
First of all I'm going to duplicate this one that is by to expression and now I have another one I'm

8
00:00:38,980 --> 00:00:42,690
going to call it by 3 was expressions.

9
00:00:42,700 --> 00:00:49,900
Okay now will be much nicer just to simplify the explanation and the way we are going to create the

10
00:00:49,900 --> 00:00:51,100
multiple pies.

11
00:00:51,100 --> 00:00:56,690
I'm gonna remove or delete the layer that is has the small border here.

12
00:00:56,710 --> 00:00:57,340
Here you are.

13
00:00:57,340 --> 00:01:05,060
Just for simplicity then since we are going to have multiple pies the null and the percent we should

14
00:01:05,060 --> 00:01:06,410
even shy them away.

15
00:01:06,830 --> 00:01:10,350
OK so now we have the very simple one to create.

16
00:01:10,460 --> 00:01:14,000
Now the first thing you want to do is to work on the value controls.

17
00:01:14,090 --> 00:01:19,960
So I will come to the effects here and we want to add for the pie too.

18
00:01:20,520 --> 00:01:23,250
So the first thing we want to add is the pie percent.

19
00:01:23,250 --> 00:01:31,370
So I'm gonna write this is by percent 1 then control D and a half by percent to as you know the pie

20
00:01:31,370 --> 00:01:33,750
is the way they work or the slices.

21
00:01:33,750 --> 00:01:36,960
Let's say one is 30 percent.

22
00:01:36,960 --> 00:01:39,300
The other one should be 70 percent.

23
00:01:39,390 --> 00:01:41,360
So they close all the pie.

24
00:01:41,490 --> 00:01:47,590
If you had three of them of course you would distribute them so the total sum is 100 percent.

25
00:01:47,610 --> 00:01:51,300
So now let's go to the controls and we have slider control.

26
00:01:51,300 --> 00:01:57,960
So we're gonna call it pie animation one okay.

27
00:01:58,110 --> 00:02:04,210
And then we are going to duplicate it to have by animation to let us go to the value controls and lock

28
00:02:04,210 --> 00:02:07,110
it and come back to the controls.

29
00:02:07,120 --> 00:02:12,910
So I press w e to see the expressions let's make this one up a bit so we can see more.

30
00:02:13,150 --> 00:02:18,930
So you have by an emission one if you look at it inside is taking by percent one.

31
00:02:19,000 --> 00:02:24,250
So obviously for the pie animation too you will want to have.

32
00:02:24,400 --> 00:02:27,940
Here you are by percent to as simple as this.

33
00:02:27,940 --> 00:02:30,040
That's the only change that is required for now.

34
00:02:30,040 --> 00:02:32,600
Then later on I will explain to you.

35
00:02:32,640 --> 00:02:34,650
So now let's duplicate pie.

36
00:02:35,010 --> 00:02:42,990
And we have by 2 and I'm going to press twice on e to open the expression and you'll notice here this

37
00:02:42,990 --> 00:02:49,700
animation is controlled by pi and emission 1 actually wanted to be controlled by by an emission too.

38
00:02:49,710 --> 00:02:55,020
So actually we have done all the changes except one which is the color.

39
00:02:55,410 --> 00:03:01,980
So I'm gonna come to by two and change the color to something bluish for example to see it very neatly.

40
00:03:01,980 --> 00:03:06,660
Now let's this select press L to close all the layers.

41
00:03:06,660 --> 00:03:13,740
Take this one down a bit and less viewed at 100 percent the way it is and let's play and you notice

42
00:03:13,740 --> 00:03:17,760
it quite a bit of an animation and they are both coming actually the wrong way.

43
00:03:18,330 --> 00:03:25,650
So not as here we have something to add if the first pi or the first slice is 30 percent and the second

44
00:03:25,650 --> 00:03:31,580
one is 70 percent there should be at total 100 percent and close the pie.

45
00:03:31,710 --> 00:03:38,150
So not this by two is 70 percent but it should start from the end of by 1.

46
00:03:38,190 --> 00:03:38,400
Right.

47
00:03:38,410 --> 00:03:39,300
Makes sense to you.

48
00:03:39,360 --> 00:03:42,160
So by 1 plus plus two equal 100 percent.

49
00:03:42,570 --> 00:03:44,220
How are you going to do this.

50
00:03:44,220 --> 00:03:46,490
Actually it's very very easy.

51
00:03:46,520 --> 00:03:48,170
Let's go to the controls.

52
00:03:48,210 --> 00:03:50,470
Press double E's so we can see the expression.

53
00:03:50,480 --> 00:03:54,090
I'm gonna take it up and we are interested in buying emission too.

54
00:03:54,230 --> 00:03:55,400
No that's what's happening here.

55
00:03:55,490 --> 00:03:58,540
It's taking the percentage of Pi too.

56
00:03:58,610 --> 00:03:59,630
That's very correct.

57
00:03:59,690 --> 00:04:02,210
But we need the compound of by 1 and by 2.

58
00:04:02,600 --> 00:04:04,010
So this is the way I'm going to do it.

59
00:04:04,400 --> 00:04:05,570
Okay great.

60
00:04:05,580 --> 00:04:09,840
B1 that will be the percentage of buy one.

61
00:04:09,900 --> 00:04:15,400
I'm going to link it to by percent one it just over here in the value controls.

62
00:04:15,460 --> 00:04:22,150
Not as that I locked the value controls so I can see it all the time then I'm gonna write semicolon

63
00:04:22,300 --> 00:04:33,450
and b to that will be the percentage for the pi 2 and link it to percentage by 2 now BP or the PI percentage.

64
00:04:33,450 --> 00:04:37,630
The second one here should not be this one 4 percent 2.

65
00:04:37,740 --> 00:04:40,890
It should be P1 plus b 2.

66
00:04:40,890 --> 00:04:42,340
That's the compound value.

67
00:04:42,560 --> 00:04:46,380
And if you look at your animation now it's working 100 percent.

68
00:04:46,380 --> 00:04:46,950
Here you are.

69
00:04:47,430 --> 00:04:51,270
OK so let's close and see it all together.

70
00:04:51,270 --> 00:04:52,640
Very nice animation.

71
00:04:52,640 --> 00:04:53,960
There is no mistake now.

72
00:04:53,970 --> 00:04:59,430
Now we should always take care that if one is 25 the other one should be the.

73
00:04:59,430 --> 00:05:02,840
So it's going to be mine 100 minus 25.

74
00:05:02,850 --> 00:05:09,690
If you like two is not good to do linking over here because you might add more I was pretty cool guys

75
00:05:09,690 --> 00:05:10,120
right.

76
00:05:10,320 --> 00:05:15,660
Let's add the third one so we'll come to PI percent too and add the third one and let's say here we

77
00:05:15,660 --> 00:05:18,210
have 25 and we have 30.

78
00:05:18,200 --> 00:05:19,250
That's 55.

79
00:05:19,260 --> 00:05:24,050
So this one would be 45 unless opened the controls.

80
00:05:24,050 --> 00:05:28,650
Now in the affected I have by any mission to I'm going to duplicate it.

81
00:05:28,670 --> 00:05:30,470
I will have buy emission 3.

82
00:05:30,560 --> 00:05:34,580
Not this how cool after effects is it showing me the controls over here.

83
00:05:34,580 --> 00:05:36,300
Can I lock also this one here.

84
00:05:36,680 --> 00:05:41,880
So I have the two panels that I can see and then I would turn it down.

85
00:05:41,950 --> 00:05:48,160
Stop the animation a bit and here we need to do some changes right guys.

86
00:05:48,190 --> 00:05:49,720
I'll take it up.

87
00:05:49,730 --> 00:05:52,980
So it's gonna be adding P 3.

88
00:05:53,300 --> 00:06:02,020
So if you are you have a P 3 equal and simply pick whippet 2 percent 3.

89
00:06:02,030 --> 00:06:10,360
The slider and of course I keep on forgetting the semicolons though it doesn't matter anymore in after

90
00:06:10,360 --> 00:06:12,920
effects of course I'm going to add B3.

91
00:06:12,970 --> 00:06:14,140
Here you are.

92
00:06:14,140 --> 00:06:19,870
Then of course I have to add now the pie itself so I tick by to duplicate it.

93
00:06:19,960 --> 00:06:25,520
I have by 3 double E and all I have to do here is to change it to 3.

94
00:06:25,570 --> 00:06:30,550
Actually there is even a method a bit complicated but very advanced that will allow you to duplicate

95
00:06:30,550 --> 00:06:34,870
the line and immediately it would change the values that maybe you see later in the course.

96
00:06:34,870 --> 00:06:35,890
So here you are now.

97
00:06:35,890 --> 00:06:37,550
Have I done a good job.

98
00:06:37,660 --> 00:06:38,040
Okay.

99
00:06:38,050 --> 00:06:40,380
I've done quite a nice job.

100
00:06:40,600 --> 00:06:41,670
I hope so at least.

101
00:06:42,070 --> 00:06:43,150
And here you are.

102
00:06:43,150 --> 00:06:45,020
I'm gonna give it a funny color will be nice.

103
00:06:45,980 --> 00:06:48,170
Let's look at it in full view.

104
00:06:48,440 --> 00:06:54,080
Actually guys if it took me six seven minutes to explain to and do this one I am sure from now on you

105
00:06:54,080 --> 00:06:56,580
can put an infinite number of pies.

106
00:06:56,750 --> 00:07:04,850
The way I do it I do not create 3 or 4 i create 10 pies and then if I must use only two pies all I have

107
00:07:04,850 --> 00:07:09,160
to do is to give them the last one zero and divide the values used.

108
00:07:09,290 --> 00:07:12,710
So it's going to be this one seventy and 30.

109
00:07:12,710 --> 00:07:18,170
And here you have a government only two pies so it's about the percentage.

110
00:07:18,170 --> 00:07:23,570
All of it so you can change them the way you would like and if you make a mistake I'm sure you will

111
00:07:23,570 --> 00:07:24,390
notice.

112
00:07:24,500 --> 00:07:29,480
Actually what's happening from the anime shade would be too fast for one of them.

113
00:07:29,660 --> 00:07:36,140
So this is the way to create multiple slices in a single pie and I hope this was very useful and you

114
00:07:36,140 --> 00:07:38,270
can expand on it and so on.

115
00:07:38,270 --> 00:07:42,640
Now what I'm going to ask you as an assignment is to work on the text.

116
00:07:42,640 --> 00:07:42,910
Okay.

117
00:07:42,910 --> 00:07:46,030
You notice we have the text here but now this text here.

118
00:07:46,040 --> 00:07:50,230
If I press double E it is linked to animation by 1.

119
00:07:50,390 --> 00:07:55,190
So obviously we need to replicate this several times to put them around.

120
00:07:55,280 --> 00:07:58,100
Thank you very much for listening and I will see you in the next lecture.
