Ir al contenido principal

zoom , escala

Recuerda que son dos tipos de capas,


// Fast Blur with control layer
// Applied to Blurriness parameter

// Point1 is current layer, point2 is control layer
point1=this_layer.position;
point2=this_comp.layer("nombredelacapa"position;

// Find the vector between the 2 points
delta=sub(point1, point2);

// Now find the length
distance=length(delta);

//Use linear() to remap distance to range of 40 to 0
linear(distance, 0, 80, [250,250], [75,75]);

Comentarios

Entradas populares de este blog

Expression Péndulo

Aplicar a rotación, pér☺ en 3d. freq = 1.0; //oscillations per second amplitude = 50; decay = 0.7; amplitude*Math.sin(freq*time*2*Math.PI)/Math.exp(decay*time)  --------------------------------------------------------------------------------- freq = 1.0; //oscillations per second amplitude = 50; decay = 0; //no decay amplitude*Math.sin(freq*time*2*Math.PI)/Math.exp(decay*time)   Gana dinero con Buxvertise

Desenfoque rápido

 Coloca esta expression en ya sea texto, sólido, imagen , video, aplicando un efecto , desemfoque rapido no olvides el nombre o dejalo asi . // Pick 2 layers point1=this_layer.position; point2=this_comp.layer("aqui un nombre").position; // Find the vector between them delta=sub(point1, point2); // Now find the length distance=length(delta); //Use linear() to remap distance to range of 40 to 0, for Blur linear(distance, 0, 80, 40, 0);