Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Apple Doc “magnify” expression?

  • Colin Braley

    December 7, 2005 at 5:09 pm

    I don’t have AE infront of me right now but I think I can give you an expression what will work. Apply this to the scale of the layer you want to change. Pick whip the mouse_layer variable to whatever layer you want to use.

    //Begin expression
    mouse_layer = thisComp.layer(“mouse layer”);//Mouse layer
    beginScale = 100;//Scale begins at this
    endScale = 250;//Scale ends at this
    beginDistance = 200;//Distance to begin magnifying in pixels
    endDistance = 0;//Distance to end magnifying in pixels
    //–Don’t modify below here
    dis = length(this.position, mouse_layer.position);
    ease(dis, beginDistance, endDistance, beginScale, endScale)

    //end expression

    I think what should do the magnifying part of the apple dock animation.

    ~Colin

  • Aptjel

    December 10, 2005 at 4:30 pm

    Many thanks I’ll give it a whirl

    kindest regards

    apt

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy