Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Mosaic on scale – expression

  • Mosaic on scale – expression

    Posted by Dan Zucco on April 6, 2015 at 9:40 pm

    Hi,
    I am looking to pixelate everything below an adjustment layer based on the scale of a null layer. Looking for some help with an expression.

    i.e.

    L1. Null – Scale Animation 100% to 400%
    L2. Adjustment Layer – Max Mosaic Effect 1920px = (linked to the scale 100%) to min Effect 50px (linked to the scale when it reaches 400%)
    L3. Image (linked to scale)
    L4. Image (linked to scale)
    L4. Image (linked to scale)
    etc.

    I hope that makes sense. Let me know if you require more information. I have alot of keyframes and a lot of layers, which is why I am looking for an expression.

    Cheers,

    Dan

    Dan Zucco replied 11 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    April 6, 2015 at 9:59 pm

    I guess it would be something like this for the horizontal:

    s = thisComp.layer(“Null 1”).transform.scale[0];
    linear(s,100,400,1920,50)

    Then you would link the vertical to the horizontal, of if you wanted it to be independent from the horizontal, it would be like this:

    s = thisComp.layer(“Null 1”).transform.scale[1];
    linear(s,100,400,1920,50)

    Dan

  • Dan Zucco

    April 6, 2015 at 10:21 pm

    Exactly what I was after thanks Dan.

    Best.

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