How to animate Freepik vectors (Part 2/2)
Let us continue from where we left of last week. Our octopus is swimming and we need to animate his friends and the rest of the scene. Find the first part of the tutorial How to animate Freepik vectors (1/2) here.
Animating the fish and shark chase
Create another composition by clicking Composition > New Composition or pressing ctrl/cmd + N. Name it Shark and make it the same size as the main composition. Now cut paste the three Shark layers (Body, fins and tail) into this composition.
Select the tail layer and adjust the anchor point using the Anchor point tool to the point from where the tail will rotate. We now have to rotate the layer in Z-Depth which means not just up down or side to side but in and out as well. To do this we have to make the object 3D. It’s very simple in AE. Just turn on this little box in front of the layer.
You will notice that you immediately get the 3 – axis on the screen.
Hit R on the keyboard with the tail layer selected. This will open up the Rotation controls for the layer. You will notice that instead of 2 axis, there are now 3 axis as we have converted the layer in 3D. Change the value of the Y Rotation and the tail will turn side by side.
Animate this, setting keyframes like we did earlier. When one loop is complete, copy and paste the keyframes repeating until you reach the main composition duration. So when we animate the Shark moving ahead, the tail will keep propelling throughout. Do the same procedure for the Fin as well. Locate the anchor point, make it 3D and animate the rotation controllers. You can animate it in various axis like up and down and side by side to give more realism.
Your shark animation should look like this.
Now, place the shark comp in our main composition. Animate it floating from right to left (A to B) behind the cctopus by animating the position property (press P) and offsetting the keyframes as you like.
Duplicate the Shark comp layer and stack it up above the cctopus layer. Now scale it up by pressing S on keyboard with the layer selected, and changing the value. This one we have to animate close to our camera. Make this shark go Left to right. (B to A). For this, we need to flip the layer horizontally. Right click on the layer and go to Transform > Flip horizontal. So now we have a loop animation; Shark comes from right to left behind the octopus and swooshes by close to the camera from left to right.
Remember that the first and last frame of the entire scene has to be the same for it to loop. Within that time range, you can go crazy and do whatever you want.
Animate and duplicate the small fishes in the same way. Duplicate and make many copies and let them swim for their lives from the beastly shark.
Animating the turtle
Animating the turtle is the same. Just take care of the offset between the front legs and the hind legs. Make sure that his head/neck thrusts out as he pushes and goes back in as he relaxes.
He should look like this.
Place him in the main comp and animate him swimming left to right.
Animating the seaweed
Make a new comp named Plants and cut paste the four plant layers in this comp.
We need to give them an underwater floating effect. It is very simple. Go to the Effect window and type in Wave to bring up Wave warp which is located under Distort category.
Drag and drop this effect on the selected plant layer. In the Effects setting panel, Use these setting to give the plant a wavy motion. Make sure to keep the Direction 0.00 (vertical) as the weeds will have to wave upwards. (You don’t need to set any keys for this effect).
It should look like this.
Repeat this procedure to all the layers. (You can just copy this effect from the effects panel and paste it on all the layers).
Animating the sea
There are 3 layers of water. We will just animate the front layer with waves.
Create a new composition named Water_A and cut paste the light blue wavy water layer in this comp. We just need this as reference.
Create a square shape roughly the size of the reference layer using the shape tool. Turn off the stroke and keep the fill on. Pick the same color as the reference layer. Rename the layer Water_A.
Apply the same Wave warp effect to this layer. You will notice that the straight border will become like this and it will animate by itself.
Play around with the settings until you get the type of waves you want.
Now turn off the reference AI layer and bring this comp over in the main comp. You have an animated sea!
(If there is a mismatch at the first frame and the last, animate its position manually to match it so that it loops perfectly).
Animating the boat
I have changed the design of the boat. (This one feels too industrial). We don’t have to create it though. Just head over to Freepik.com and choose from the million options available.
Let us take the boat from this design.
In AI, modify the colors of your boat as per your design. You can also name your boat as I did :). Separate the Flag layer from the boat, save and import in AE in a new composition. We will animate the flag waving in the ocean wind.
We will just use the flag layer as reference. Create a flag roughly the shape of the reference. (A new shape layer will be automatically created).
Change the color picking it up from the reference layer. Now, apply the same Wave warp effect on the layer and change the settings roughly like this.
Hide the reference layer and your flag is ready and animated!
Now bring up this boat composition in the main comp and animate its position from left to right taking care of the looping.
Bonus tip: You can use the wiggle rotation effect to rock the boat back and forth on the sea.
Animating the bubbles and the clouds
Creating the bubbles is super easy. Just create a circle using the Shape tool in the toolbar. Keep the fill off and the stroke on. Give it white color and it’s done.
Animate its scale and position and adjust the timing in the timeline.
Now we will need to duplicate the bubbles and offset their position. But to do this, you will have to reanimate each of them again and again.
Well, not necessarily. There is a simple solution.
Duplicate the bubble layer. Right click on the layer stack, not selecting any layers, and go to New > Null Object.
This will create an object (which will not be visible in render. This is just a type of handle/controller) and a layer for it. Rename the layer with the same name with which we are going to parent it. In this case it’s Bubble-2.
Now, click on the little spiral button in front of the Bubble-2 layer and you will see that a whip appears from it. Drop that on the Bubble-2 null layer. This will parent the animated layer to the null object.
Now you can animate the null separately – like its position and rotation – and the main Bubble-2 animation layer will move with it. This will not affect the core animation and keys done on the main layer. This will be like a secondary animation. So now if we move the null object somewhere else, the bubble will move there and the core animation will stay intact.
Offset the two bubbles with regards to timing and position, and you are done. Repeat for as many bubbles as you want.
For the clouds, just animate them with subtle position shift creating a feel of parallax. It’s best if this is not too loud.
And it’s done! (I know it was a lot more coffees than I said)
I hope you enjoyed this tutorial. This is just some basic stuff we can do with AE. The possibilities are countless and hopefully this tutorial gave you a kick-start in this amazing art.
In this tutorial you will learn how to animate Freepik vectors. Read this step-by-step tutorial about how to create vector animations in After Effects.