FORUMS: list search recent posts

Mosaic on scale - expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dan Zucco
Mosaic on scale - expression
on Apr 6, 2015 at 9:40:16 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


Return to posts index


Dan Ebberts
Re: Mosaic on scale - expression
on Apr 6, 2015 at 9:59:32 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



Return to posts index

Dan Zucco
Re: Mosaic on scale - expression
on Apr 6, 2015 at 10:21:40 pm

Exactly what I was after thanks Dan.

Best.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]