motion graphics eXchange


No thumbnail available
This Expression causes one gear to rotate at the proper speed when a second gear next to it is
rotated, so that the two gears stay meshed with each other.
by Fred Lewis
After Effects 7
Useful things

Views: 3168
share this  error? 
To use this expression, first create and import two gears that mesh together properly. In order for two gears to mesh properly, the ratio of the difference in size between the two gears must equal the ratio of the difference in the number of teeth between the two gears. Once imported, decide which gear will be the Leader and which will be the Follower. Apply the Expression below to the Rotation parameter of the Follower gear. Then set the LayerToFollow, in the Expression, to the name of the Leader gear.
Set the Ratio in the expression to the size of the Leader, relative to the Follower.
LayerToFollow = "Leader";
Ratio = 3/4
mul((this_comp.layer(LayerToFollow).rotation) * Ratio, -1)

(Min. Version: After Effects 7, Category: Useful things, Type: Expressions)
posted by MaxX on Dec 25, 2008


Related topics:

Folding Template

Thumbnail for: Folding Template
folding and unfolding template free to use.
Require After Effects CS6
After Effects CS6
Projects (aep)

Views: 33970
posted by fsimoni on Nov 05, 2012

Product, Service or App Promotion

Thumbnail for: Product, Service or App Promotion
After Effects Template. Promote your app, product or service
After Effects CS5
Useful things
Projects (aep)

Views: 16276
posted by RedSpikeFx on Oct 30, 2012

Clean Logo V2

Thumbnail for: Clean Logo V2
After Effects CS4,CS5,CS5.5 and CS6 template logo reveal
After Effects CS4
Projects (aep)

Views: 20456
posted by aedaddy on Aug 19, 2012



follow us on in touch on facebook



Full length video training series presented by motion graphics industry professionals. Click here to visit Motionworks website!