Animated Swirls in Adobe After Effects

Animated swirls are all the rage in the motion graphics world, and there are some pretty cool things that can be done with them. But creating and animating such elements is really not as difficult and time-consuming as it would seem, even if the shapes are detailed and intricate. Bring on the swirls!

[To download a preview version of this swirls in after effects technique, follow this link. All files are for personal use only.]

1 CREATE ILLUSTRATOR SWIRL
Let’s start out in Adobe Illustrator CS3, by far the best tool for creating such design elements—and as you’ll see, hugely important in providing the actual animation paths for us also (yes, you read that right!). Create a new document called “Swirls” at 720×540 pixels, and set the Color Mode to RGB. Click OK, then using the Pen tool, create the main stem for the left side of your design. Then switch to the Spiral tool to draw the swirl on the right. With the Direct Selection tool, select the right end point of the Pen tool path and the left end point of the swirl path and go to Object>Path>Join to create a single path.

2 ADJUST FILL; ADD LAYER & STROKE
With the path selected, go to either the Toolbox or Color panel, click the Fill icon then the None icon to remove the default white fill, leaving only the black 1-point stroke (going to View>Show Transparency Grid can help confirm this is done). In the Layers panel, double-click Layer 1, rename it “Stem,” and click OK. Then click the Create New Layer icon, rename the new layer “Branch 1,” and use the Spiral tool to draw another swirl coming out from the stem, as shown above.

3 ADD LAYERS & STROKES
Continue the same steps (new layer, draw new branch swirl, check fill is None) for as many branches you would like to have coming from the main stem. Make sure the branches start at the stem as accurately as possible. (Note: To draw a swirl in the opposite direction, click once on the artboard with the Spiral tool and select the other Style in the Spiral dialog.) In this case, I’ve created a total of four extra branches. Save your document as Swirls.ai at this point, then go to Window>Brush Libraries>Default Brushes, and choose Basic RGB.

4 ADD BRUSH STROKE; ADJUST WIDTH
With the Selection tool, select all of the stem and branch elements, and click on the second brush graphic in the Basic RGB panel to apply that style. Feel free to use any of the other Brush Libraries, or indeed create your own, to suit your taste. In the Stroke panel, adjust the Stroke Weight accordingly to achieve the desired effect (1.5 pt in this example). Save the file once more, then switch to After Effects.

5 CREATE MASTER COMP; IMPORT SWIRLS
Click the Create a New Composition icon at the bottom of the Project panel, name it “Little Swirls,” and set it to NTSC D1 Square Pixel (720×540) for consistency. Set the length to 8 seconds or so, and click OK. Now, double-click in the Project panel to bring up the Import File dialog, locate Swirls.ai, choose Import As Composition – Cropped Layers, and click Open. Double-click the new Swirls comp in the Project panel to open it. Go to Composition>Background Color and choose white so you can see the swirl elements.

6 EDIT ORIGINAL IN ILLUSTRATOR
Believe it or not, you’ve done the hardest part of the project, and have also unknowingly created the animation paths that will “reveal” the strokes perfectly. Select the main Stem layer in the Timeline, then press Command-E (PC: Ctrl-E) to Edit Original back in Illustrator. Once in the program, go to View>Outline—this is how we want After Effects to see our path shape, as we’re going to copy and paste it. Due to the fact we have a custom brush applied, however, this will most likely not work. So…

7 REMOVE STROKES; COPY & PASTE
Press Command-A (PC: Ctrl-A) to Select All of the lines, go to the Color panel, click the Stroke icon, and click the None icon to remove the brush stroke. As long as we don’t save this document, our brush strokes won’t be affected. Now target just the Stem layer, and press Command-C (PC: Ctrl-C) to Copy the path into memory. Switch back to AE, and with the Stem layer still selected, press Command-V (PC: Ctrl-V) to Paste the path as a mask shape onto the layer. Double-click on the right side of the path in the Composition panel and drag to align with the brush stroke. Press Enter when you’re done.

8 REPEAT PROCESS(ES)
Now switch back to Illustrator and do the same process for the remaining strokes: Target one of the paths in the Layers panel, copy it, switch to After Effects, select the corresponding layer, paste the path as a mask, then nudge it into position if necessary. When all the paths have been copied and pasted, switch back to Illustrator, close the file, and do not save the changes.

9 ADD STROKE EFFECT; ADJUST
Starting with the stem now, we can create one animation technique that can be re-used on all the other layers. Select the Stem layer and go to Effect>Generate>Stroke; a white stroke will appear on the layer. In the Effect Controls panel (ECP), you’ll see that Mask 1 is selected as the path being stroked. Adjust the Brush Size and Brush Hardness until the original black line is hidden; in my case, a 6-pixel stroke and 100% hardness cover it just fine.

10 ANIMATE STROKE
Now drag on the End value and you’ll see your stem drawing perfectly back and forth. See, I told you it was easy, didn’t I? All you need to do now is animate the End value across time. At 0 seconds, click the Stopwatch to set a keyframe for the End value at 0%, move along the Timeline to 2 seconds, and set the End value to 100%. Then Control-click (PC: Right-click) the second keyframe and choose Keyframe Assistant>Easy Ease In. You’ll notice the line is actually erasing itself at this point, but that will change in the next step. Note: Depending on how you created the shape, you may need to animate the Start point instead.

11 SET MASK
Very cool indeed! There’s one more step, however. If you go to Composition>Background Color and set the color to a blue, you can see all we are doing is using a white stroke to hide/reveal a black stroke—which is no good if you intend to composite these swirls on a different background. Back in the ECP, simply set the Paint Style to Reveal Original Image—perfect! You’re animation should now be drawing the line instead of erasing it, as well.

12 COPY & PASTE EFFECT; ADJUST TIMING
Now the same Stroke effect, including keyframes, can be re-used for the branches. In the ECP, select the Stroke effect name at the top and Copy it. At 0 seconds in the Timeline, select the branch layers and Paste. Now, simply click-and-drag the keyframes in the Timeline to adjust the timing for each branch so that they start to reveal just after the stem has passed by, and your swirl animation is complete!

13 COMPOSITE BACKGROUND; CHANGE COLOR
Now switch to the initial Composition you created in Step 5. Import a textured background image, such as this one from iStockphoto.com (#3855804), drag it into the Timeline at 0 seconds, and scale accordingly. Then drag your animated Swirls composition over the top, and duplicate, scale, position and rotate accordingly. Now, go to Effect>Generate>Fill, change the color to white, and set the layer Blend Mode in the Timeline to Overlay. Repeat this step for each of the Swirls comp layers in the Timeline.


PHOTO CREDIT: ©ISTOCKPHOTO/BULENT INCE

14 ADJUSTMENT LAYER; GLOW
At 0 seconds, go to Layer>New>Adjustment Layer, then Effect>Color Correction>Tritone. In the ECP, change the Highlights swatch to a slight off-white, and the Midtones swatch to orange. Now choose Effect>Stylize>Glow, and set the Glow Threshold to 100% (experiment with the settings based on the background you’re using). Hit 0 on the keypad for a final RAM Preview, and your simple, single-line vector swirls from Illustrator look completely different now, not to mention that their own paths essentially self-animated! Use them creatively. Enjoy!

Share & Enjoy


 

  1. Prashant (Reply) on Tuesday January 27, 2009

    I have problem in import ai file in AE with Layers.
    Can you suggest me how its work?

  2. Steve Holmes (Reply) on Tuesday January 27, 2009

    Hi Prashant,

    Can you be more specific about where it’s going wrong? Which step of the tutorial does the flow break? And can you list the exact steps? A lot of times, it’s to do with not selecting Import as Composition – Cropped Layers part in step 5, and accidentally bringing the file in as a single item and not a layered composition.

    Let me know a little more detail, and I’ll be happy to help :)

    Steve

  3. Robert (Reply) on Tuesday January 27, 2009

    Hello Steve, I believe I did everything correctly to the point of copying and pasting the path into AE. When I paste on the “Stem” layer in AE, nothing shows up…as if nothing happens. Dont know why? Any suggesstions will be greatly appreciated!

    Thanks Steve,

    Rob

  4. Steve Holmes (Reply) on Tuesday January 27, 2009

    Nothing shows up? One thing this MIGHT be, is the Clipboard preference in Illustrator. Go to Illustrator > Preferences > File Handling & Clipboard, and make sure Clipboard on Quit has PDF turned off, and AICB turned on. Then try copying and pasting again.

    Let me know how this works for you,

    Steve

  5. Robert (Reply) on Tuesday January 27, 2009

    Steve,

    Thank you very much! You have found the solution! I am now able to paste the path in AE! How did you get to be so great at this???

    Rob

  6. Steve Holmes (Reply) on Tuesday January 27, 2009

    Hey Rob,

    Glad I hit it first try ;) To be honest, 9 times out of ten, a problem copying and pasting a vector path (as a mask or motion data) from Illustrator to After Effects, is directly attributed to that single Preference which should be checked.

    The whole copy-and-paste-vector-paths-as-motion-data thing has been in After Effects since version 4.1 (quite some time now, but obviously a rather major event seeing as I can remember it clearly ;) , and it took me ages to figure out why sometimes the copy and paste would work, and other times it wouldn’t.

    And still, some ten years later, it’s still something to watch out for.

    Anyway, so happy that you got it sorted, and that I could be of service. Enjoy the new techniques!

    All the best,

    Steve

  7. Alex from Moscow (Reply) on Tuesday January 27, 2009

    Hi Steve,
    Nice tut, but I can’t import illustrator path anyway. I use CS4 production premium on XP, and I encountered this problem before. I’ve read help files and I checked the box for AICB option in the Files & Clipboard section of the Adobe Illustrator Preferences dialog box…same result – after copying path in Ai there is nothing in Ae clipboard to paste:((( Any suggestion, pls?

  8. Leo (Reply) on Tuesday January 27, 2009

    i cannot copy and paste the line after i change the preference..why /_\

  9. Steve Holmes (Reply) on Tuesday January 27, 2009

    Hey Alex and Leo,

    Sorry you’re having troubles (and sorry for my late response, I am currently on vacation in Austria, so how’s this for service!? ;) . I can only urge you to step through the same few processes again. make sure the AICB option in the Illustrator prefs is turned ON, and the PDF option is turned OFF. And be sure to remove the brush stroke from that line before you copy it (otherwise the outer thick shape of the stroke is converted to a mask path when copied and pasted), and be sure to select the layer in AE before pasting the path onto it.
    Odd as it sounds, sometimes I do the Copy function (cmd-C) three or four times, as doing it once sometimes doesn’t work. I know it sounds bizarre, but give that a shot for me too, and let me know if it works?
    I’ll be off email again for a couple of days as I’m driving and such, but I hope this works – or if not, we can hopefully figure something out for you.
    All the best from Austria,
    Steve

  10. zakari (Reply) on Tuesday January 27, 2009

    Hi Steve !
    it is quiet cool and easy,
    the way you break it down from creating swirls in Ai to animating them in Ae

    sorry to bug u with this Q

    Q:how those one use masking to reveal an image or object over time (just the way stroke revealed the swirls)

  11. Akash (Reply) on Tuesday January 27, 2009

    Now this was the tutorial which I was looking for many days.. and the process involved is easy.. very very thx.. keep rocking.. and would like to see some more exciting tutorials

  12. rakabs (Reply) on Tuesday January 27, 2009

    @steve took me around 2 hoursto accomplish just because of the clipboard preference ahehe I shouldve read the comments earlier as you explained it in the comments. anyway, what i did was checked PDF and unchecked AICB and it worked..?

  13. Jessica (Reply) on Tuesday January 27, 2009

    This tutorial is awesome. The effects are just simply spot on! I’ve been trying to design a logo animation somewhat like this incorporating the swirly effects in my logo but it looked off somehow especially the proportions of it. Finally, I decided to use the professional design services of an online logo design site instead (http://www.logodesignstation.com) and got the design I wanted at an affordable price and fast too, within 24 hours. I did provide this link for reference and inspiration to my designer as I liked how yours look. I’m not going to design anything without any professional help anytime soon although it’s fun. :) Your site is awesome, by the way. And the effect is simply wonderful…

  14. malukobold (Reply) on Tuesday January 27, 2009

    Thank you so much for this tutoria Stevel! Now i can finally finalize my project for the 4th semester :)

    Greetz,
    malukobold

  15. Rajneesh R. Gaikwad (Reply) on Tuesday January 27, 2009

    Hi, Steve. This is the simplest yet effective tuts i have seen ever. Great Work. God Bless U.

  16. [...] Motion and Position of Text Characters with After Effects    Animated Swirls in Adobe After Effects    Create a MoGraph Urban Jungle    Motion Typo Act.1: [...]

  17. Daniel (Reply) on Tuesday January 27, 2009

    Awesome tutorial, thanks! :-)

  18. [...] many similar examples is Animated Swirls in Adobe After Effects by Steve Holmes at [...]

  19. [...] many similar examples is Animated Swirls in Adobe After Effects by Steve Holmes at [...]

  20. [...] many similar examples is Animated Swirls in Adobe After Effects by Steve Holmes at [...]

  21. [...] 37. Animated Swirls In Adobe After Effect [...]

  22. [...] More Information on Animated Swirls in Adobe After Effects [...]

  23. [...] Animated Swirls in Adobe After Effects [...]

  24. [...] Motion Graphics Tutorial Filed under: After Effects Tutorials, motion graphics tutorial Leave a comment Comments (0) Trackbacks (0) ( subscribe to comments on this post ) [...]

  25. [...] – Animated Swirls in Adobe After Effects [...]

  26. Tom (Reply) on Tuesday January 27, 2009

    I’m getting stuck on step 7- everything seems to go all right at first, but when I try to put the path in AE, it creates 409 different masks. After deleting all but the first, the original stem wasn’t visible, but this little yellow spot remained. Adjusting the mask didn’t do anything. Am I somehow creating the path incrorrectly? (I’m using CS5 on Windows if that helps.)



Planet Photoshop Photoshop World KelbyOne Lightroom Killer Tips Scott Kelby