Trying to recreate this animation

Community Beginner ,
Sep 30, 2020

Copy link to clipboard

Copied

Hi,

 

I am trying to figure out how to recreate this bar animation with the male and female where the picture starts to fill up with a percentage over time.

https://motionarray.com/motion-graphics-templates/infographics-586382 (starts at 37 seconds).

 

From what I can guess, it looks like there is some sort of mask effect that they have applied here.

I haven't been able find a tutorial on this so far on youtube. 

TOPICS
How to

Views

134

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Trying to recreate this animation

Community Beginner ,
Sep 30, 2020

Copy link to clipboard

Copied

Hi,

 

I am trying to figure out how to recreate this bar animation with the male and female where the picture starts to fill up with a percentage over time.

https://motionarray.com/motion-graphics-templates/infographics-586382 (starts at 37 seconds).

 

From what I can guess, it looks like there is some sort of mask effect that they have applied here.

I haven't been able find a tutorial on this so far on youtube. 

TOPICS
How to

Views

135

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 30, 2020 0
Guide ,
Sep 30, 2020

Copy link to clipboard

Copied

The technique is to have a shape (male and female character in this case) used as alpha mask on top of a simple shape layer, which is animated in size, or position. Search for "alpha mask".

 

https://www.youtube.com/watch?v=Ce-z4Xrxczo

 

*Martin

Here is a quick tutorial covering three common methods of creating masks/mattes on layers in After Effects. 1. The first method I cover is using track mattes...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 1
Community Beginner ,
Sep 30, 2020

Copy link to clipboard

Copied

Is it possible to make this into a template for quicker use in the future in premiere pro?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 0
Adobe Community Professional ,
Sep 30, 2020

Copy link to clipboard

Copied

You can do it all on one shape layer using Merge Paths/Intersect. Carefully study this screenshot. I'm showing you everything you need to do to make it work.

Screenshot_2020-09-30 17.11.07_9hZsy9.png

You are going to need to Group all of the shapes and paths that create the character. In the screenshot, you will see four rectangles and an ellipse creating the character. Below the Character Group, you add Merge Paths and set the mode to Add. This will treat all of the shapes as a single shape. 

 

Just below the Character Group, you add a rectangle. I named it the Reveal Rectangle. You'll need to add an expression to the Transform: Reveal Rectangle/Anchor point that points to the half the Y value of the Reveal Rectangle/Rectangle Path 1/Size property so that you can animate the or the scale of the Reveal Rectangle 1 and have the bottom edge stay put. Here's the expression:

 

 

y = content("Reveal Rectangle").content("Rectangle Path 1").size[1] / 2;
[0, y]

 

 

Next, you add a second Merge Paths set to Intersect below the Reveal Rectangle and set the mode to Intersect. When you add Merge Paths it also adds a fill and stroke that take over all of the fills and strokes in shapes that are being merged so you can just delete all of the fills and strokes above the second merge paths. I usually do that to clean up the layer. The two fills you see in the screenshot are the only fills in the entire shape layer. There are no strokes added.

 

The next step is to duplicate (Ctrl/Cmnd + d) the Character Group and drag it to the bottom of the stack. All that remains is to add a fill color below the Character Group Copy and set the color. 

 

I do this kind of thing all the time. With a little practice, you'll learn what to select when you use the Add menu so things like Trim Paths and Merge Paths show up in the right spot. If you end up with one of these animators in the wrong place you can just drag it where it needs to go.

 

I hope this helps. If you need to, download the screenshot for a reference. Duplicate the screenshot and you will have what you need for the animation. Here's a project file for you to look at.

 

The second option is to have two different colored copies of your character layer and an animated rectangle above the top copy. If you then reveal the modes column (F4 if you only have the switches column visible) you can then set the animated rectangle as a track matte for the top copy of the character. I prefer to use the first method that I showed you. I think it renders faster and the comp is simpler. Once you are familiar with all of the shape layer animators and you are comfortable with the search field in the timeline, it doesn't take much time to create this kind of animation.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 1
Community Beginner ,
Sep 30, 2020

Copy link to clipboard

Copied

I'm not seeing a merge paths option when I import my layers into after-effects from illustrator. Is this because the shapes aren't being made inside of after effects? Since it appears that I am stuck with the second option you mentioned, am I supposed to create 2 different colored animated rectangles and place it on top of these top layers? Sorry I am still a novice with after effects and this seems a bit overwhelming for a newbie like me. 

 

contentcreator30_2-1601513056955.png

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 0
Adobe Community Professional ,
Sep 30, 2020

Copy link to clipboard

Copied

If you are importing from Illustrator you need to convert the vector layers to Shapes.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 0
Community Beginner ,
Oct 02, 2020

Copy link to clipboard

Copied

Thank you! I decided to stay with your second method as it seems simpler to use. Cheers! 🙂

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 02, 2020 0
Community Beginner ,
Sep 30, 2020

Copy link to clipboard

Copied

Ok I think I kind of got it. The animation looks right at least when I play it back. I created 2 shape layers and then changed up the positioning using keyframes and selected track matte like you suggested. Was this what you were referring to earlier?

 

contentcreator30_0-1601514054076.png

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 0