Friday, June 20, 2025
HomePHPHow you can create an animated Lottie brand

How you can create an animated Lottie brand


Just about all video on the web is comprised of hundreds or hundreds of thousands of particular person raster photographs, or frames. Whereas compression tremendously reduces the file sizes, every body continues to be primarily a raster picture that’s resolution-dependent, and the video itself is frame-rate-dependent. You can not make the video bigger or add extra frames after it’s rendered.

Lottie makes an attempt to deliver some great benefits of vector graphics to animation. Lottie animations retailer vector knowledge that’s resolution-independent and permits vector shapes to be animated straight on a webpage or inside an app. A Lottie animation is ideal for animated logos and parts that you simply wish to stand out whereas protecting file sizes small.

On this tutorial, you can be creating this Lottie brand animation


1. What you’ll want

For this tutorial, you can be utilizing Adobe Illustrator and Adobe After Results to create an animated brand, so that you’ll must have these put in. With the intention to create Lottie animations, additionally, you will must have the Lottie extension put in in After Results. Go to the Lottie Recordsdata for After Results web page and observe the directions to put in the newest model of the plugin. With the Lottie plugin put in, you can be able to create a Lottie animation!

2. Put together the vector file in Adobe Illustrator

Step 1

Obtain the Roast Bee file from Envato, extract the compressed zip file, and find the AI folder inside. Open the Roastbee Emblem.ai file in Adobe Illustrator.

Opening the Roastbee Logo.aiOpening the Roastbee Logo.aiOpening the Roastbee Logo.ai

Step 2

Create a brand new AI file utilizing the 1920×1080 movie and tv preset. Working on this measurement will make sure that we have now an appropriately sized form after we transfer it to After Results, in order that we need not refine it an excessive amount of to make the animation work. Put it aside as Roastbee for Animation.ai

opening a new film & tv fileopening a new film & tv fileopening a new film & tv file

Choose the form of the emblem within the Roastbee Emblem.ai file, copy it, and paste it into the brand new Roastbee for Animation.ai file you simply created. Tweak the dimensions and place to ensure it’s centered and fully contained throughout the artboard.

Roastbee logo placed in the new film and television file, Roastbee for Animation.aiRoastbee logo placed in the new film and television file, Roastbee for Animation.aiRoastbee logo placed in the new film and television file, Roastbee for Animation.ai

Step 3

Most finalized brand information like this are outlined, that means that they’re flattened shapes with a fill and no stroke. You will have to separate the wings from the flattened form, however there are a number of methods to strategy it. On this case, because the design lends itself to stroked vector strains and After Results offers much more choices to animate stroked vector strains, we are going to put together it for that form of workflow. Choose the bee form and go to Object > Path > Offset. A unfavorable offset of -24px ought to transfer the vector strains to the middle of the form.

a negative offset will move the vector lines to the center of the shapea negative offset will move the vector lines to the center of the shapea negative offset will move the vector lines to the center of the shape

Click on OK to just accept the offset. Illustrator will make a duplicate of the form with the unfavorable offset utilized. Choose all the pieces besides the brand new offset strains, change the fill coloration in an effort to see the offset shapes on prime of it, and lock it within the Layers panel in order that it can’t be accessed.

Step 4

Though the vector strains are within the heart of the form, it’s nonetheless a defined form with a fill. You will have to scrub up the strains so that there’s a single open-ended vector line for every form.

Take into consideration which components you wish to animate individually. Use the Direct Choice Software (A) to pick factors the place these strains join with different components of the design, then press the Reduce button on the floating toolbar to interrupt the connection. Let’s begin with the top and separate it from the antennae. Maintain Shift and click on the factors the place the top connects with the antennae to pick them.

selecting the points where the head connects to the antennaeselecting the points where the head connects to the antennaeselecting the points where the head connects to the antennae

Then click on the Reduce button on the floating toolbar to separate the top from the antennae shapes.

click the cut button on the floating tool barclick the cut button on the floating tool barclick the cut button on the floating tool bar

Step 5

Be sure all of the paths are open. As you’re employed via the strains, you will discover that a few of them are closed paths. Choose factors on the tip of the form, and delete them to get a single open line roughly on the heart of the unique form. We are going to add a thick stroke to the strains later to get the unique design.

selecting the points at the end of a line and deleting themselecting the points at the end of a line and deleting themselecting the points at the end of a line and deleting them

Step 6

Choose all with Command-A, after which swap the fill and description within the toolbar. This may mean you can see which shapes are nonetheless closed and have to be opened and cleaned up as you’re employed via the remainder of the shapes.

swap the fill and stroke to see the outlined shapes that need to be cleaned upswap the fill and stroke to see the outlined shapes that need to be cleaned upswap the fill and stroke to see the outlined shapes that need to be cleaned up

Step 7

On the backside, close to the bee’s stinger, the unfavorable offset produced some messy outcomes. You’ll be able to delete the a number of shapes on the fitting aspect of the stomach, clear up the road on the left of the stomach, after which replicate it.

Reduce the strains that make up the stripes of the stomach from the define utilizing the Direct Choice Software (A) and the Reduce command that we’ve been utilizing for the remainder of the shapes.

Cutting the stripe line off of the abdomen outlineCutting the stripe line off of the abdomen outlineCutting the stripe line off of the abdomen outline

Use the Direct Choice Software (A) to pick the factors on the fitting aspect of the stomach and delete them.

delete the messy outline points on the right side of the abdomendelete the messy outline points on the right side of the abdomendelete the messy outline points on the right side of the abdomen

The left aspect of the stomach define can also be messy, however it’s no less than a single stable line. Delete the factors that create a closed define so that you’ve a single open line, as we did with the antennae and different strains.

When you’ve got a single line for the left aspect of the stomach, choose it, after which use Object > Path > Simplify to scale back the complexity as a lot as potential whereas retaining the curve of the stomach define.

use the object>path>simplify to reduce the complexity of the lineuse the object>path>simplify to reduce the complexity of the lineuse the object>path>simplify to reduce the complexity of the line

Replicate the road with Object > Rework > Replicate and click on Copy on the replicate dialog field to make a mirrored duplicate of the road.

click copy on the reflect dialogue boxclick copy on the reflect dialogue boxclick copy on the reflect dialogue box

Lastly, transfer the mirrored line to the fitting in order that the tip close to the stinger snaps to the tip of the left line. Be a part of the mirrored line on the fitting with the left line by dragging a field over each with the Direct Choice Software (A) and clicking Be a part of on the floating toolbar.

joining the left and right sides of the abdomen linejoining the left and right sides of the abdomen linejoining the left and right sides of the abdomen line

Lastly, be part of the stomach with the top form the identical means. This may create a single closed form from the top and stomach strains.

Proceed utilizing these methods to scrub up the remainder of the design. You can even save a while by cleansing up one wing after which utilizing the replicate method to make the other wing.

Step 8

As soon as you’ve got cleaned up the remainder of the design, there ought to be a single line for every of the next:

  • Left antenna
  • Proper antenna
  • Left wing
  • Proper wing
  • Stomach & head mixed (that is the one closed line)
  • Stripe 1 (the higher stomach stripe)
  • Stripe 2 (the decrease stomach stripe)

You can even enhance the stroke weight if you would like to ensure that it’s near the unique design. Nevertheless, we are going to add the stroke in After Results, so it’s not essential to do it in Illustrator.

clean up completeclean up completeclean up complete

3. Animate in After Results

We have to get the vectors from Illustrator to After Results whereas protecting them within the right place relative to one another. After Results permits us to stick vectors from Illustrator straight into After Results as masks, however sadly masks lack the management of form layers on the subject of animating.

Masks are additionally not vector layers, which we’ll want after we create a Lottie animation. They’re vector masks utilized to raster layers. Pasting our vectors from Illustrator right into a masks on a stable layer is a fast strategy to get them into After Results whereas sustaining positioning, although.

Step 1

Choose all the newly cleaned strains and use Command-C to repeat them. Open After Results, shut any tutorials or new file creation dialog packing containers that it opens, and click on New Composition.

Then use the preset for Social Media Panorama in HD at 1920×1080, setting the size of the animation to about 5 seconds.

new composition creation settings in After Effectsnew composition creation settings in After Effectsnew composition creation settings in After Effects

Step 2

Create a brand new Strong Layer by clicking within the timeline panel and urgent Command-Y. Within the dialog field, we will depart the default coloration—simply be sure that it’s set to the composition measurement of 1920×1080 and click on OK.

solid settings dialogue boxsolid settings dialogue boxsolid settings dialogue box

With the brand new stable nonetheless energetic, press Command-V to stick the vector shapes we copied from Illustrator, and they are going to be utilized to the stable as vector masks. Within the timeline, you’ll need to increase the layer and increase the masks property to entry them individually.

the solid with the applied vector masksthe solid with the applied vector masksthe solid with the applied vector masks

Step 3

You will have to maneuver the vectors over to a form layer. Holding them separated will provide you with probably the most management over the animation. Proper-click within the area within the left part of the timeline panel, and click on Form Layer. This may include our vectors.

creating a shape layercreating a shape layercreating a shape layer

Step 4

Now we have to transfer the vectors over from the raster stable layer. Broaden the stable layer, increase masks, and increase the final masks on the backside. Then, click on the Masks Path property and press Command-C to repeat the vector path. Now increase the Form Layer that you simply created earlier and click on Add > Path.

adding the path to the shape layeradding the path to the shape layeradding the path to the shape layer

Be sure the playhead is on the first body of the timeline (it ought to be by default). Then increase the trail you simply created, increase the Path property underneath it, and click on the Stopwatch to create a keyframe. This keyframe is important to include the vector knowledge from our masks. Now press Command-V to stick the vector knowledge we copied from the masks.

add the keyframe to the path propertyadd the keyframe to the path propertyadd the keyframe to the path property

Be sure to call the trail. I exploit the next conference on this mission: [Item][side][purpose]. So that you’ll see the left wing is known as Wing L.

Step 5

You’ll must repeat the earlier step for every of the shapes. On this case, there aren’t that many, so it doesn’t take lengthy. For bigger tasks with extra vectors, there are plugins that can automate the method, however determining which form is which and organizing them nonetheless takes time.

As soon as all of the shapes are copied over, you’re performed with the stable layer, and you may delete it (or conceal it no less than if you wish to preserve it round for some purpose).

Step 6

On the Form layer, click on Add > Stroke. This stroke will apply to all the paths above it throughout the identical group.

It’s price mentioning how essential teams are in After Results. Teams have Rework Properties that management all the shapes inside. Teams can even separate fills and strokes in an effort to apply a fill or stroke solely to the vectors in the identical group or to all of the teams above it. Utilizing teams lets you management shapes independently and collectively, and it additionally simplifies rigging.

Step 7

Click on Add  > Group (Empty) and identify it Wing L xform since that is the group we are going to use to animate the left wing. Drag the left wing into the group you simply created, and do the identical for the fitting wing, naming the group Wing R xform. Then drag each teams to the highest of the stack within the form layer. You can even increase each teams and see that not solely have they got the wing paths we dragged into them, however in addition they have rework properties.

expanded groups with the paths inside and transform propertiesexpanded groups with the paths inside and transform propertiesexpanded groups with the paths inside and transform properties

Step 8

Broaden the Wing L xform group and increase the rework property inside. We might want to regulate the anchor level since we wish the wing to rotate across the final vector level on the fitting the place the wing and proper wing contact. 2D rework properties in After Results are listed in alphabetical order: X (horizontal) and Y (vertical). Click on and drag on the second quantity on the rework property for the Vertical Y Anchor Place to maneuver the anchor level so it’s over the right level. Set it to about -67.

Sadly, this implies the complete form has moved down to the anchor level. It’s a simple repair, although. Click on and drag the Place property’s pickwhip (the little spiral to the fitting of the place numbers) to the Anchor property.

anchor point transformedanchor point transformedanchor point transformed

You’ll see the Place property’s numbers flip purple, and they need to match the numbers of the Anchor property. The form will even transfer again as much as the place it had been earlier than.

the position numbers are red and match the anchor numbersthe position numbers are red and match the anchor numbersthe position numbers are red and match the anchor numbers

Repeat this step for the fitting wing.

Step 9

We are going to solely keyframe the left wing, after which we’ll use a easy expression to make the fitting wing mirror it.

Let’s go forward and animate the left wing so we will see that all the pieces is working after we hyperlink up the fitting wing. Broaden the Rework property of the left wing if it isn’t already expanded. Click on the Stopwatch on the Rotation property to begin computerized keyframing. This will even create a keyframe underneath the playhead. Transfer the playhead ahead about 5 frames and set the Rotation to about -14 levels.

-14 degree rotation-14 degree rotation-14 degree rotation

Transfer the playhead ahead one other 5 frames, after which choose the primary keyframe and press Command-C to repeat and Command-V to stick on the playhead in order that the wing returns to its preliminary state.

pasting first keyframepasting first keyframepasting first keyframe

Then transfer the playhead ahead one other 5 frames and set the Rotation Property to about 23 levels. We will refine these values later.

setting the upper rotationsetting the upper rotationsetting the upper rotation

Transfer the playhead 5 extra frames ahead, choose all the keyframes you created, and press Command-C to repeat and Command-V to stick all of them and get an extended cycle. Transfer the playhead to the final keyframe and press N to set the tip of the work space in order that while you press Area to play the animation, it is going to loop.

All of the keyframes pastedAll of the keyframes pastedAll of the keyframes pasted

Step 10

Broaden the rework properties for the Wing R xform group, after which click on the pickwhip on the Rotation property and drag it to the Rotation property of the Wing L xform group.

This copies the precise values however doesn’t fairly give us what we wish. Discover that that the values are actually purple, indicating that the Rotation property is linked to the left wing’s rotation property. Broaden the Rotation property to see the expression linking it to the Wing L xform Rotation property. Click on the expression and add *-1 to the tip to multiply by unfavorable 1.

multiply the expression by negative 1multiply the expression by negative 1multiply the expression by negative 1

Step 11

Choose the Form layer and click on Add > Stroke.

add a strokeadd a strokeadd a stroke

Broaden it and choose a coloration. If you wish to use the colour from the unique illustration (the gold strains), use hex code #D6AC84.

Set the Stroke Width to 51 and the Line Cap to Spherical Cap. Be sure the stroke is on the backside of the form layer stack, underneath all the paths and teams, in order that it applies to all of them.

stroke detailsstroke detailsstroke details

Step 12

The wings will have to be crammed to cowl the strains of the physique beneath when the wings transfer. We have to make modified variations of the wings to get the fill to look right, although. Choose the Wing L xform group, press Command-D to duplicate it, and rename the brand new wing group Wing L Fill.

Then, with the brand new group energetic, click on Add > Fill. Set the fill coloration to the background coloration of the unique illustration, #1A2632. Additionally, you will want to ensure the Wing L Fill group is beneath the Wing L xform group in order that we will add the stroke on prime of the fill later.

Step 13

Broaden the Path property within the Wing L Fill group, double-click the purpose on the heart of the form to pick it, after which press Delete on the keyboard to delete it.

deleting the center pointdeleting the center pointdeleting the center point

Proceed deleting factors as much as the highest of the wing till it seems to be like this.

the points deleted.the points deleted.the points deleted.

Now the Wing L Fill group is keyframed similar to the Wing L xform group. If you wish to make it procedural, you possibly can increase the Rework properties of the Wing L Fill group, delete the keyframes on its Rotation property, and pickwhip it to the Wing L xform group’s Rotation property. This manner, the complete animation is managed by a single set of keyframes.

Step 14

Repeat steps 12 and 13 for the fitting wing.

Step 15

Lastly, simply duplicate the stroke you created earlier twice by deciding on it and urgent Command-D, and put one copy in every of the Wing L xform teams so as to add a stroke over the fill. You can even create a bunch for the physique and a bunch for the stripes, after which put a reproduction of the fill within the physique group and a reproduction of the stroke within the stripes group.

Finished vector setupFinished vector setupFinished vector setup

Step 16

Regulate the keyframes as wanted to get the look you need in your animation. Whenever you’re performed, go to Composition > Trim Comp To Work Space.

4. How you can create the Lottie animation

Step 1

Now, let’s begin creating our Lottie animation. Go to Window > Extensions > Lottie Recordsdata to open the Lottie exporter. Check in if prompted.

opening the Lottie exporteropening the Lottie exporteropening the Lottie exporter

Step 2

Verify the field for the Roast Bee composition and click on Render on the backside of the exporter interface. Since we ready the complete animation as a vector layer inside After Results, all the pieces ought to be supported absolutely by Lottie.

Click RenderClick RenderClick Render

Step 3

Now you possibly can click on Add to ship your animated Lottie brand to your LottieFiles account and embed it in net tasks from there. You can even obtain the animation as any of the supported file sorts to be used domestically. 

download lottiedownload lottiedownload lottie

Conclusion

Lottie is a really highly effective strategy to create light-weight vector animations, nevertheless it requires some important setup when utilizing After Results, since After Results is a primarily raster-based enhancing software. Making ready your animation appropriately utilizing vector-based form layers in After Results tremendously improves assist however requires some setup.

I hope you discovered this tutorial useful. Be sure you try this publish from the Envato weblog, and any of those articles from Envato Tuts+!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments