In this special lecture where I'm going to show you a couple of things that will be very useful I can
almost use them any time anywhere.
And we're going to try to do any animation just like this.
In fact much better.
So this is a rotating you know is not how was flickering We're also going to move these addicts here
all the indicators and try to do something a bit exciting.
First of all I would delete all the layers.
Doesn't matter so I would create a rectangle here just a simple rectangle.
Come to the rectangle transform and put it in the middle and that's the position 0 0 and put the anchor
point is just in the middle.
Just to confirm fine what I will do I would introduce a repeater here.
I would say add a repeater and remember that repeater means to give it a number of coffee.
For example 80 80 copies go sideways.
We come to the transformer repeater.
Now I want to rotate it so I remember the rotation is right at 360 divided by a number of copies.
And when we come back using number of copies you have to come back here but it is not helpful at all
when it is visual we want to do it that actually first of all let's take this rectangle and remove that
and take the position or pull it apart just like this could make this smaller take it down a bit so
we have a nice repeat in fact let's come back to the repeater.
We have the rotation here.
We are going to write the rotation we gonna open the expression and write right 360 divided and use
the whip to go get the number of copies.
So now it is divided by 80.
Now what's practical about this is every time I change the number of copies the angle of the rotation
is always you know adjusting itself.
And that's pretty neat.
And Sivy a lot of work mainly when you're trying to adjust something you know just eyeballing it.
Let me put here for example.
I want to change the color of the field to white OK.
And that's OK.
We go to the size.
Make the size just for good.
Now let's duplicate the shape there.
They say this is white and we duplicate it.
Now we create another one we call it blue and from blue here.
What I will do is come to content constant rectangle rectangle path 1 and make it a bit bigger.
OK.
Go back to the number of copies.
Look how is it has become now.
It is pretty nice just configuring itself with a rectangle so all I have to do is to do to make the
decision what I want to do.
So here if I put it it would be quite cool.
Fine I'll change the color the color and make it like the promised light blue so we can see it even
lighter.
So we have this one fine.
Let's go back to the first layer the white layer here.
And the open and the size I make the size of that good so now we have something very beautiful that's
on the screen.
Let's start now.
We have used the expression to set the rotation for the number of copies.
That's pretty convenient.
You can remember it and work on it.
So let's go and create another rectangle.
I will come from here and something like this.
This is the needle it's going to give us the speed for example come to rectangle path.
Let's remove this this make it a bit thinner.
So we want to ensure that it is directly vertical.
Now I want to enter an expression here to rotate this one continuously rotate this last.
So I would come to a rotation Plus our rotation.
I'm going to enter an expression a very simple expression I call it time.
Now time will operate in seconds and milliseconds not inflate.
Not this is not even moving is moving very little because 5 is just 5 degrees.
So what it will do I will multiply for example by 60 ply by 50 or any number and not what's happening
now it's moving all the way around until the end of the composition so the rotation is equal to that
time multiplied by 60 you can make it faster.
You can write 600 if you like.
And here you are is rotating all the way because you have to come in and just the anchor point.
But in other cases that's very beautiful let's make it only 100 like 100.
Good.
Now we want to play with this indicators here.
How do we do that let's come to the blue of indicator and we have the rotation for the whole hour.
Of course.
So and this one and go to transform and come to the rotation I'm going to enter an expression here.
One of the expression I can enter is the wiggle expression.
Now we've seen regle we want to enter now the expression in the expression let's say we wanted to do
five times and we get let's say 20 degrees or 50 degrees 90 degrees whatever.
OK.
Here you are.
Now it is really wiggling at 90 degrees five times per second.
If you make it nicer That is point five it will rotate very nice jumping could.
Now let's go back to the white one right and open the rotation.
Click and what you can do here is to enter another function is random.
So random of let's say 180 degrees.
So it's going to give us a number from 0 to one hundred eighty every second.
Let's see.
Now we know how they're going every one second call.
Also you can enter the wiggle.
It's up to you.
Random is used Miguel is different let's say zero point six by 60 or 180.
OK.
So they're both wiggling now and the rotation here is going on.
Notice how we used time.
We can also adjust the wiggle here and we if you want to have an increment we will be crazy.
But we can enter time here.
So the number of vehicles now will become very hard and that is how it's wiggling we start of course
the wiggle increases with time.
Because the time is increasing.
So these are several ways that you can use to make your animation a bit.
Now we have used time let's write something here let's say one two three and come back and open the
text and go to source text and we have several options.
We can write a time so that we show us the time and if we play our preview you're not is that the time
you notice how the time is increasing.
But it is decimal.
Now time has only two numbers.
After they come out we can do two decimal points.
What you can do is just be supplied by 100 and we have a full figure.
Here you are.
So the time is always increasing.
And so now why why this is beautiful why it is nice.
Why I'm showing you first of all you learn time.
That's the first thing you want to use and you can use time in so many ways divide the division multiplication
whatever you want.
You learned about the wiggle and you learn about the expression for the cup is where you divide the
number of copies you see 360 divided by the country girl.
That's very nice.
Now let's de-lurked all our players and press you press again.
They're not keyframes.
We have created a whole animation without any keyframes just using simple expressions.
Let's try to make the indicator here you know flash.
First of all I would call it indicator.
Good.
I'm going to open the opacity Presti for opacity.
I would press a button to press on a stopwatch and let's try the expression wiggle five times a second
by 100 so it's going to go from minus 100 to 100.
But it's ok we will use 0 to 100 that's all that can be seen.
If I played.
Now notice how it's flashing in and out depending on the wiggle itself.
Do it again.
Here you are.
You see it flashing.
So using the we get in the opacity also is an option to make things you know flush.
And also you can use a random round of 100.
It give us a value between zero and 100.
This was random it's flickering much speedier because the random value is changing much speedier than
we got.
So it's up to you to do either wiggle or random they are both used in opacity.
I would like you to train on that.
This animation is very useful if you're doing.
If you're doing something that needs this rotation all the time during your composition.
You can create more circles you can create the dashes wiggle them through the expression or wiggle them
through time and random.
So you have learned about them.
Thanks very much for listening and I see you in the next lecture.