Adobe After effects Motion Graphics
00. PERCENTAGE
01. wiggle
var freq = thisComp.layer("WIGGLE").effect("freq")("Slider");
var inten = thisComp.layer("WIGGLE").effect("inten")("Slider");
wiggle(freq,inten);
var inten = thisComp.layer("WIGGLE").effect("inten")("Slider");
wiggle(freq,inten);
02. DOCTOR STRANGE ADVANCED EXPRESSIONS
Go for
♦ position ☛ loopout()
♦ Particular shod around ☛ wiggle(5,200)
03.Camera lens on text Focus distance EXPRESSIONS
03.Camera lens on text Focus distance EXPRESSIONS
Go for
♦ Focus distance ☛ length(
♦ Parent it finial image position ☛ length(thisComp.layer("Every one").transform.position,
♦ Parent on camera position ☛ length(thisComp.layer("Every one").transform.position,transform.position)
04. Automatically Set or Link Focus Using this EXPRESSIONS
Go for
♦ Focus distance ☛ Automatically calculates Focus Distance to follow the layer "WWW.Rameshkumar.ML"
try{
thisComp.layer("Camera 1");
transform.pointOfInterest;
}catch(err){
quote = String.fromCharCode(34);
$.error = "" + quote + "Camera 1" + quote + " cannot be a One-Node camera"
}
layer = thisComp.layer("WWW.Rameshkumar.ML");
try{
layer.transform.position[2]
}catch(err){
quote = String.fromCharCode(34);
$.error = "" + quote + "WWW.Rameshkumar.ML" + quote + " cannot be a 2D layer. The Focus Distance of " + quote + "Camera 1" + quote + " can only be set to follow 3D layers."
}
cam_pos = [transform.position[0] * thisComp.pixelAspect, transform.position[1], transform.position[2]];
cam_poi = [transform.pointOfInterest[0] * thisComp.pixelAspect, transform.pointOfInterest[1], transform.pointOfInterest[2]];
if (this.hasParent)
{
cam_pos = this.parent.toWorld( cam_pos );
cam_poi = this.parent.toWorld( cam_poi );
}
layer = thisComp.layer("WWW.Rameshkumar.ML");
layer_pos = [layer.transform.position[0] * thisComp.pixelAspect, layer.transform.position[1], layer.transform.position[2]];
if ( layer.hasParent )
{
layer_pos = layer.parent.toWorld( layer.transform.position);
}
cam_vector = sub(cam_poi, cam_pos);
if( length(cam_vector) != 0) {
cam_vector = normalize(cam_vector);
}
layer_vector = sub(layer_pos, cam_pos);
dot(layer_vector, cam_vector);
05.Natural camera handshake expression!
Go for
♦ Position ☛ wiggle(.3,20)
No comments:
Post a Comment