motion graphics eXchange
top

Blink layers in/out

Thumbnail for: Blink layers in/out
This is a script that is used to make layers blink in and out automatically tracking with their in and out points.
After Effects CS3
Transitions
Expressions

Views: 2917
Permalink
visit |  share this  error? 
The keyframes for opacity will look like this:
0,20,0,40,0,60,0,80,0,100 and reverse for the out.

Apply this expression to the opacity:
//applyTo: opacity
// blinks in with 5 blinks
blinks = 5; // The number of times to blink while fading in. you can change this and it will recompute for you

blinkFrames = blinks*2;
inFrame = Math.round(in_point/this_comp.frame_duration);
outFrame = Math.round(out_point/this_comp.frame_duration);
frame = Math.round(time/this_comp.frame_duration);

if (frame < inFrame + blinkFrames){
delta = frame - inFrame;
if (delta % 2 == 0){
0;
} else {
linear(delta,0,blinkFrames,10,110);
}
} else if (frame < outFrame - blinkFrames){
100;
} else {
delta = frame - (outFrame - blinkFrames);
if (delta % 2 != 0){
0;
} else {
linear(delta,0,blinkFrames,100,0);
}
}
by ericwood, Helium14


(Min. Version: After Effects CS3, Category: Transitions, Type: Expressions)
posted by MicGyver on Mar 07, 2010

 

Related topics:

Lightwrap in After Effects

Thumbnail for: Lightwrap in After Effects
This brief tutorial covers the compositing technique of light wrapping.
After Effects CS4
Keying
Video-/Tutorials

Views: 453
Permalink
posted by jamie on Jan 13, 2012

Lightwrap Preset

Thumbnail for: Lightwrap Preset
This is a preset that you can use on green screen footage or just general compositing.
After Effects CS5
Keying
Presets (ffx)

Views: 340
Permalink
posted by jamie on Jan 13, 2012

3D Cube Creator

Thumbnail for: 3D Cube Creator
This script is used to create a 3d cube. You can later replace the different sides and spin the null around for easy animation.
After Effects CS3
3D
Scripts (jsx)

Views: 2411
Permalink
posted by MicGyver on Nov 11, 2011


 

 

follow us on http://twitter.com/mgxchangeget in touch on facebook

 

 

motion graphics eXchange - Get The Search Engine