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
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
Adobe After Effects
How to Make After Effects Faster with Proxies

How to Make After Effects Faster with Proxies

Learn how to make Adobe After Effects faster by using PROXIES! A proxy is a placeholder that stands in place for a very large video file or image sequence in your project. You can easily create proxies for the large source files that you are using and After Effects will automatically link them to the item in your project panel.

Tutorial
Tobias Gleissenberger
Adobe After Effects
Stabilize & Smooth: mocha 5 Plug-in for Adobe & Avid

Stabilize & Smooth: mocha 5 Plug-in for Adobe & Avid

Imagineer Systems and Boris FX product specialist Mary Poplin shows you how to stabilize with the new mocha Pro 5 plug-in inside of Avid Media Composer, Adobe Premiere Pro and After Effects. This tutorial covers artistic stabilization, such as smoothing out camera movements or stabilizing around moving objects, completely locking down shots, and automatically replacing edge fill on planar backgrounds.

Tutorial
Mary Poplin
Adobe After Effects
Adobe After Effects Puppet Tool

Adobe After Effects Puppet Tool

Become a puppet master by learning how to use the Puppet Tool in Adobe After Effects! This intermediate-level tutorial from After Effects guru Tobias will show you how the Puppet Tool allows you to add joints and animations to bring life to any static image!

Tutorial
Tobias Gleissenberger
Adobe After Effects
How to Spawn A Clone in Adobe After Effects

How to Spawn A Clone in Adobe After Effects

Want to learn how to create a cool clone spawn effect in Adobe After Effects? Follow along with After Effects whiz Tobias from Surfaced Studio in this exciting new visual effects tutorial that combines green screen using Keylight, CC Vector Blur, the Liquefy Effect, CC Particle World, and much more, delivered in Tobias' inimitable style!

Tutorial
Tobias Gleissenberger
Adobe After Effects
Creating A Flame on Your Finger with After Effects

Creating A Flame on Your Finger with After Effects

It is easy to do some motion tracking and attach a basic stock footage element of fire onto your hands, but there is a little bit of work involved if you actually want to make it look good. In this intermediate tutorial by After Effects expert Tobias, you'll see how to use a fire stock footage element to set your thumb on fire! There are lots of useful tricks for null objects, expressions, and more in this tutorial that will help you create all sorts of other cool visual effects -- or set even more things on fire!

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