How do you achieve that effect where the lines of your artwork appear to be drawn onto your scene? With a bit of preparation work in Illustrator, it’s easier than you might have thought.

Here we have our fairly simple illustration of a house. Think about the dimensions of your video when setting up your artboard in Adobe Illustrator. This time we are going for 1200 x 800 pixels.

The base drawing
When you are happy with your drawing, you need to move the various paths into separate layers of their own. So the door would have its own layer, the bushes (being made up of three paths) would be split across three layers, etc.
I would recommend that you name these layers as you go along — it will make your file much easier to work with in After Effects.

You don’t have to name your layers, but you’ll be pleased that you did in a moment…
Make a new project in After Effects and then press the button for New Composition from Footage. Locate your .ai file and ensure that you have these settings: Import As = Composition – Retain Layer Sizes / Create Composition = Checked.
Open the new composition and you should see that your Illustrator layers have carried over. In order to manipulate them, you first need to select them all and go Layer > Create > Create Shapes from Vector Layer. This will duplicate the layers and add an ‘Outlines’ suffix to the name of each. For the sake of simplicity, you can delete the originals (marked by an Illustrator icon) from the stack, if you wish.
Now, expand the panel for one of your new layers in the stack, and go Add > Trim Paths. You will see options for Start = 0% and End = 100%. Adjust the End value and you will see how this technique works!

Play with the Start and End values to explore this method.
Note that by flipping these (Start = 100% / End = 0%) and adjusting the Start value, the path is revealed in the opposite direction. You can also play with the Offset figures to quickly change where the animation starts.
Simply keyframe these values as you see fit — you can even add easing to these animations as well. Repeat the process for the rest of the layers; and there you have it.
Here is the animated illustration
—
Header Image: From Getty Images on Unsplash.






























