Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on Twitter
LIBRARY:TutorialsVideo TutorialsReviewsInterviewsEditorialsFeaturesBusinessAuthorsRSS FeedTraining DVDs

Creating Powerful Motion with Simple Expressions in AE

COW Library : Adobe After Effects Tutorials : Talid Al Khatib : Creating Powerful Motion with Simple Expressions in AE
Creating Powerful Motion with Simple Expressions in AE
A CreativeCOW Adobe After Effects Tutorial


Creating Powerful Motion with Simple Expressions in AE

Talid Al Khatib Talid Al Khatib
Damascus, Syria

©Talid Al Khatib and CreativeCOW.net. All rights reserved.


Article Focus:

In this tutorial, Talid Al Khatib demonstrates that simple expressions can create powerful motions. In this case, we create a "rose" which could be used as a background or design element. Talid also points out that we often think that expressions only relate to the layer properties (scale, opacity, positon, anchor point and rotation) but actually, they can work great with effects too, in our tutorial, we applied expressions on two effects (grid and Hue/saturation).

Movie Project sit Project zip


This is Magic with Math...

Most people think that expressions need programming experts... it's partly true, but you'd be surprised to know that one line expressions can easily create things that you would think to be much more complicated.

Talid Al Khatib finds the expression: Math.sin(time)*n to be such a magical one.. the "n" stands for number, and in the following project, we'll discover some of the potentials of this expression unveiled by Talid.

Part One



Let's Start by creating a 320x240 composition named "comp1". Import 2 blue solids (or any color but white) by the size of 100x100 make them circles by double clicking the elliptical mask tool. On the position property of the first apply the following expression:

[160,Math.sin(time)*80+120]


This expression means in English, that I want position[0] (the horizontal position) to be 160 through the composition, and I want position[1] (the vertical) to swing between two values, which are 80 over the center of the composition, and 80 under the center. Remember that the sine or cosine of any number is between negative 1 and 1. We add the 120 to make the movement start from the center of the composition, not from the top of it.

Now we want the other solid to move contrary to the first one. It means that when the first solid is 80 pixels over the center, the other one must be 80 under it. To do that multiply the vertical position with -80 instead of 80, and our expression will be:

[160,Math.sin(time)*-80+120]


Now we'll add a hand that connects the two circles. Import third solid and apply the following expression to the scale property:

[10,Math.sin(time)*250]


The third solid will act as an arm between the two circles




Now, all the "hard work" is done, you can do the rest while you are watching TV.

Part Two



Create another composition named Comp2. Drag Comp1 to the time line of Comp2 and duplicate it three times, so you have four layers. Give them the following rotation values: -45, 0, 45, and 90. You'll have something like the following picture:




Now, create a third composition named Comp3. Drag Comp2 to the time line of Comp3 and duplicate Comp2. Enlarge the duplicated layer to 180x180 and make the opacity 30% (so it will look like a shadow for the other layer).

Add the following expression to the rotation property in the original layer:

Math.sin(time)*360


Add the following expression to the rotation property in the other layer:

Math.sin(time)*-360


The original layer will rotate clockwise, and the other will rotate counter clockwise.
You'll have something like the following picture:




Now we have the motion we want, and can still add some flavor to it. Import a new adjustment layer, let it be the top layer in the timeline. Apply the Hue/saturation effect from the "adjust" effects group. Check the colorize checkbox, rise the saturation to 100% and add the following expression to the colorize Hue property:

Math.sin(time)*360


You can do that by pressing alt then clicking the stopwatch left to the colorize Hue property. You'll see the colors of the compositions swinging between red and velvet.

That's why we shouldn't use a white solid. The white color won't respond the Hue/saturation effect.




Now let's import a new solid. Make it composition size, and make it the bottom layer in the timeline. Apply the grid effect from the render group, make the border value=1. Apply our expression to the corner property:

[Math.sin(time)*90+160,Math.sin(time)*90+120]


The size of the grid cells becomes a part of our motion like the following picture:




Notice that the final motion we have looks very sophisticated. But it depends only on a one line expression. So, it's not about how many lines I can write, it's about how can I make the most from the least I have.
Hope you enjoy it.


Tip of the day: If you want to make the world map look like a rotating globe, apply both offset and optics compensation from the "distort" effect group



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





  Adobe After Effects Tutorials   •   Adobe After Effects Forum
Reply   Like  


Related Articles / Tutorials:
Adobe After Effects
Virtual 3D Sets with After Effects

Virtual 3D Sets with After Effects
  Play Video
Rob Mize demonstrates techniques for creating a virtual set in 3D space. He shows how you can build sophisticated, detailed environments, where your actors appear to interact with their 3 dimensional surroundings. Build the set of your dreams using nothing more than After Effects, a few textures and your creativity.

Tutorial, Video Tutorial
Adobe After Effects
Lite Bite for After Effects: The Tilt Shift Effect

Lite Bite for After Effects: The Tilt Shift Effect
  Play Video
In this tutorial, Martin Ainsworth will demonstrate the "Tilt Shift" effect also known as "Toy Town Look" using Abobe After Effect. This simple yet very power technique can add an extra dimension to an opening introduction.

Tutorial, Video Tutorial
Adobe After Effects
Lite Bite for After Effects: How do I use 8 or 16 bpc effects on 16 or 32 pbc projects?

Lite Bite for After Effects: How do I use 8 or 16 bpc effects on 16 or 32 pbc projects?
  Play Video
"Lite Bites" are short no-frills tutorials giving quick answers for busy people. In this next AE Lite Bite tutorial, Andrew Devis shows how to use 8 or 16 bpc effects safely on 16 or 32 bpc projects.

Tutorial, Video Tutorial
Adobe After Effects
Lite Bite for After Effects: How do I animate Text on a Path?

Lite Bite for After Effects: How do I animate Text on a Path?
  Play Video
"Lite Bites" are short no-frills tutorials giving quick answers for busy people. In this next AE Lite Bite tutorial, Andrew Devis shows how to quickly and easily animate text on a path.

Tutorial, Video Tutorial
Adobe After Effects
You Ask....I Answer: Masking vs Track Matting Part 2: Adobe After Effects

You Ask....I Answer: Masking vs Track Matting Part 2: Adobe After Effects
  Play Video
In this tutorial, Kevin P McAuliffe takes a look at doing the same viewer requested track matting technique he showed in Motion 5, but the time he demonstrates the technique inside of Adobe After Effects.

Tutorial, Video Tutorial
Adobe After Effects
Lite Bite for After Effects: How do I create a simple Light Wrap?

Lite Bite for After Effects: How do I create a simple Light Wrap?
  Play Video
"Lite Bites" are short no-frills tutorials giving quick answers for busy people. In this first AE Lite Bite tutorial, Andrew Devis shows how to make a quick 'light wrap' effect for a keyed item so that the edge or alpha channel of the keyed item includes some of the pixels from the background element so that it starts to look as if the two items really belong together.

Tutorial, Video Tutorial
Adobe After Effects
Weißabgleich nachträglich ändern ein Quicktip in Adobe After Effects

Weißabgleich nachträglich ändern ein Quicktip in Adobe After Effects
  Play Video
Weißabgleich nachträglich ändern ein Quicktip in Adobe After Effects von Lucas Pfaff: lernen die Grundlagen der Weißabgleich.

Tutorial, Video Tutorial
Adobe After Effects
Using the Scribble & Stroke Effects

Using the Scribble & Stroke Effects
  Play Video
The "Scribble" and the "Stroke" effects are often overlooked due to the fact that it isn't immediately obvious how they work as they won't work unless applied in a very particular way. In this in-depth tutorial, Andrew Devis explains how to apply these effects and then goes through the many options in each effect which can make them very powerful and able to produce a surprisingly large variety of results.

Tutorial, Video Tutorial
Adobe After Effects
Character Design and Animation in AE: Part One

Character Design and Animation in AE: Part One
  Play Video
Rob Mize demonstrates the process of designing, creating and animating a character entirely in After Effects. Part 1 focuses on the design and creation of the character using nothing more than AE shapes.

Tutorial, Video Tutorial
Adobe After Effects
Adobe Creative Cloud Offers Applications, Services, Community

Adobe Creative Cloud Offers Applications, Services, Community

With Creative Cloud, Adobe is switching from a model of software as a product to Software as a Service (SaS). By early 2012, Adobe Creative Cloud is expected to include such applications as After Effects, Premiere and Photoshop. Creative Cloud includes a hub for viewing, sharing and syncing of files, and a subscription with 20GB of cloud storage.

Feature, People / Interview
MORE


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2012 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]