So, expressions in After Effects allow you to tie the values of one object's animation to another, such as a percent meter bar correlating to a hidden number value from 1 to 100 (see image attached, Adjustment Layer 1).
What I'm trying to accomplish is somehow tie the level of pixelation of the image (using Mosaic, more than likely) to a changing value.
Anyone know the proper math formula to write this out? First, how do I add an expression to a Mosaic effect's horizontal and vertical blocks values?
To be clear, 0 is 0% image compression, and 100 is 100% compression. I've worked out the slider and its changing values, just not the pixellation of the image.