LIBRARY: Tutorials Reviews Interviews Editorials Features Business Authors RSS Feed

Animating a Butterfly

Animating a Butterfly
CreativeCOW Adobe After Effects Tutorial


Animating a Butterfly in AE 5.5

Marek Doszla
La F@KTORY, Paris, France
marek@lafaktory.com ~ http://www.lafaktory.com

©2003 Marek Doszla and CreativeCOW.net. All rights reserved.

Article Focus:
In this tutorial, Marek Doszla shows how to animate a butterfly in After Effects 5.5 starting from a digital picture. Marek puts it in the category of "After Effects experiment", however he uses some sophisticated features of After Effects as 3D space, expressions and time remapping that could be useful to beginners or even advanced users in motion graphics.

Movie link Project sit Project zip

---Creating the Butterfly in Photoshop---


At this season in Paris there are no butterflies and I wanted my butterfly in red so I needed to ask the permission to use an existing picture.

It comes from Liang-Wu Cai , he took this wonderful butterfly picture at Great Meadows National Wildlife Refuge, Concord, MA. in August 2, 1997" .
The link to his page is here : http://web.mit.edu/cai/www/jpg/closeup/butterfly.html

In Photoshop I used a rulers guide, (blue vertical line)
that will make up the axis of symmetry (left-right)
and will serve later as reference to spread out a little bit the wings of butterfly as I had separate them from the body.

After erasing the background, I've created 3 layers which holds separately: body, left wing, right wing.

As you see on screen shots on the right, wings were spread out with rubber stamp to "stick" to the blue line of symmetry.


---Importing the Butterfly into After Effects---

In After Effects, import "butterfy.psd" file as "Composition" (see right screen shot)


After the import, we end up in Project window
(see screen shot above), with a folder with 3 stills related to 3 layers in Photoshop file and new After Effects composition that holds already these 3 layers in time line (see screen shot below.)



---Setting Up the Butterfly Comp---

Go to the composition settings (see screen shot to the right) and make more room for the butterfly , let's say: 600 x 400 pixels (for flying butterfly needs more space ) and make the duration of composition to 1 second (we will see after how to expand the "life" of butterfly to ANY duration we need)



In timeline (see screen shot below) make all 3 layers "3D" clicking in 3D box column, also check high quality display.




shutter angle = 0 = no motion blur at all
Go again to the composition settings and choose "Advanced" tab (see screen shot below) . In rendering Plug-in choose "Advanced 3D" and specify 360 for "shutter angle" as we want high motion blur


shutter angle = 360 = highest motion blur

---Setting Up the Butterfly Wings Anchor Point---

As we are going to rotate wings in space to make them fly, we need to shift their anchor points toward the axis of symmetry. In After Effects we can use "rulers guides" (thanks Adobe). Select left wing layer in time line. Using "Pan behind Y" tool (see screen shot), move it with mouse towards "center of gravity". Redo the same for right wing. Now we are ready to animate the butterfly


Before

After

---Animating the Butterfly Wings---

We are going to rotate butterfly wings in 3D space along Y (green arrow) axis so the better view to work with is Top view.
Enable Y-axis key-frames in timeline for wings. We need only 3 key frames during 1 second. See screen shots below.


WINGS KEY FRAMES for Y-rotation
at time code 00:00 and 00:24
WINGS KEY FRAMES for Y-rotation
at time code 00:12


As wings overlap the body, we need to shift body position in Z direction about 10 pixels (see blue highlights on screen shot below). Enable motion blur and make preview in custom view. Butterfly flies already, sure in place, we are going to let it fly using trajectories and the camera in the next step. We could also animate the body by rotating it in X or Z axis.




---Looping the Butterfly in Time---


Now we have a flying butterfly during 1 second and we will use it in the new composition during let's say 15 seconds.
There is a trick to loop a composition (thanks to Dan Ebberts here at COW forum) :

Pre-comp the comp you want to loop into a new comp that is long enough to hold all the loops you want. Enable time remapping for the new comp. Type "rr" to reveal the keyframes. Set a keyframe at the last frame of the loop. Delete the keyframe at the end of the comp. You should now have keyframes at the start of the loop and the end of the loop. Enter this expression in the time-remapping property:

loop_out("cycle",0)

That should do it.

If you use the method I described, you'll lose the first frame of your loop after it plays through once. If that's important, you need to add one more keyframe after the one at the end of the loop and set its value to zero. loop_out("cycle",0) behaves better if the last keyframe is identical to the first one.

I've found a work around to this solution: (see the screen shot below), I don't have 100% of speed but I'm close to it and I manage with 2 key frames. From now, I've created a new composition with duration of 15 seconds and thanks to expressions I could layout the 1 second butterfly animation to any length, simply by dragging its right handle in timeline.




Explanation: loop_out("cycle",0)


In order to understand what really does loop_out("cycle",0) I'll try to explain it here: If we convert an expression to key frames we will see periodical "use" of frames from 1 second composition within "outlasting" composition.







---Animate the Butterfly in 3D Space and in Time---


From now there are 100,000 possibilities to animate the butterfly comp within After Effects 3D space. Here, I've just added a camera without animating it, instead I've animated position and rotations of butterfly. Butterfly flies with the constant speed defined in its composition of 1 second.



For more fun, I've duplicated previous "comp1" of duration 15 seconds into "comp1*" for which I've extended duration to 25 seconds, so I was able to do some time remapping. In "comp1*" I could speed up or slow down the butterfly in order to achieve another result.





Conclusion

I didn't pretend to achieve a simulation of real butterfly, it was just a great fun to experiment with wonderful After Effects, I hope you've enjoyed my tutorial...

Marek Doszla
www.lafaktory.com


Feel free to discuss this tutorial in the After Effects forum at CreativeCOW.net.



If you found this page from a direct link, please visit our forums or read other articles at CreativeCOW.net



Related Articles / Tutorials:
Adobe After Effects
Adobe After Effects: Glitch Effects Without Using Plug-ins!

Adobe After Effects: Glitch Effects Without Using Plug-ins!

Join VFX guru Tobias Gleissenberger for a fun, high-energy look at how to create all sorts of digital noise, glitch, and other disturbing video effects with any version of Adobe After Effects, without using any plug-ins!

Tutorial
Tobias Gleissenberger
Adobe After Effects
Adobe After Effects Energy Ball

Adobe After Effects Energy Ball

In his latest high-energy Adobe After Effects tutorial, VFX guru Tobias Gleissenberger of Surfaced Studio combines a variety of effects to create the pulsating energy ball, composited with motion tracking, optical flares, and more.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Stabilize 360 Video with Mocha VR

Stabilize 360 Video with Mocha VR

In this intermediate tutorial, Mocha Product Manager Martin Brennand takes you through smoothing the horizon in a Samsung Gear 360 shot using the Reorient Module in Mocha VR. Jittery 360 video footage can be made more watchable by stabilizing with Mocha’s planar tracking tools. The tutorial is done via the Adobe After Effects plug-in, but the techniques apply to all versions of Mocha VR.

Tutorial
Imagineer Systems
Adobe After Effects
Adobe After Effects April 2017 New Features

Adobe After Effects April 2017 New Features

The April 2017 release of Adobe After Effects (version 14.2) is packed with new features, and Tobias Gleissenberger of Surfaced Studio is here to show you the latest and greatest. Highlights include the Essential Graphics panel and Motion Graphics templates (with Adobe Premiere Pro integration), the addition of Lumetri Scopes and Color Correction effects, new effects organization, the Camera Shake Deblur filter and more.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Adobe After Effects Advanced Title Tutorial

Adobe After Effects Advanced Title Tutorial

Learn how to create complex title animations in Adobe After Effects! In my last tutorial I covered how to create, customise and animate simple titles in Adobe Premiere Pro: https://www.youtube.com/watch?v=6xQtq... In this tutorial we will take things one step further and create titles that are too complex to create with Premiere alone. We will be working with and customising presets, creating character by character animations and we will look at the power of custom Text Animators. Want to learn more about how to animate text? Check out the Adobe help page: https://helpx.adobe.com/after-effects...

Tutorial
Tobias Gleissenberger
Adobe After Effects
Imagineer mocha Pro 5 Plug-In for Adobe: An In Depth Review

Imagineer mocha Pro 5 Plug-In for Adobe: An In Depth Review

Imagineer mocha Pro 5 Plug-in for Adobe brings all the amazing features of the professional version of the mocha Planar Tracker directly into After Effects and Premiere Pro in the form of a plugin. In this in-depth review, After Effects tutorial guru Tobias Gleissenberger of Surfaced Studio will show you what you can do with this new plug-in, and discuss what he likes and doesn't like about the new update.

Tutorial
Tobias Gleissenberger
Adobe After Effects
After Effects 2015.3 - My Favorite Features

After Effects 2015.3 - My Favorite Features

Learn why you should upgrade to After Effects CC 2015.3 - 13.8.1 - a close and detailed look at the latest release of After Effects (August 2016). Roei Tzoref will be focusing on his favorite features that set this release apart from previous versions: Performance, Queue in AME, Lumetri Color new features, and more.

Tutorial
Roei Tzoref
Adobe After Effects
Advanced Masking in Adobe After Effects

Advanced Masking in Adobe After Effects

Some of the coolest stuff you can do inside of Adobe After Effects is only possible once you unlock the power of masks. Join After Effects whiz Tobias Gleissenberger of Surfaced Studio to learn about mask animation and interpolation, using the variable width feathering tool, managing mask modes and ordering, and more.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Fixing Common After Effects Problems and Mistakes

Fixing Common After Effects Problems and Mistakes

Got problems using Adobe After Effects? Exported files too large, Expressions not working, mixing shapes and makes, modes/switches, selecting previews for layers vs. comps - Surfaced Studio's Tobias Gleissenberger shows you fast fixes for these and more!

Tutorial
Tobias Gleissenberger
Adobe After Effects
mocha AE Planar Tracker for Absolute Beginners

mocha AE Planar Tracker for Absolute Beginners

Want to learn how to create advanced visual effects? Learn how to use mocha AE to track your shot and add advanced visual effects to live action footage inside Adobe After Effects. mocha can help you track shots that would be hard to track using traditional 2D point or feature trackers because it is a PLANAR TRACKER. A planar tracker uses planes and textures to track as opposed to points or groups of pixels. This allows the tracker to stay on track even if your shot contains motion blur or a very shallow depth of field. mocha AE comes included with Adobe After Effects and is available since CS3 and there is no reason for you not to use this awesome tool to make it easier for you to track your shot, replace screens or rotoscope!

Tutorial
Tobias Gleissenberger
MORE
© 2017 CreativeCOW.net All Rights Reserved
[TOP]