You have chosen to sponsor your bid up to a maximum amount of .
This project is for you to write an after effects expression for me that adjusts the scale of an object based on it's rotation.
Here's the problem. I am displaying short videos created in After Effects on a pixel grid, where the pixels are one foot apart left to right (horizontally), and only six inches apart up and down (vertically). So, if I want to display a square box, it has to be twice as tall as it is wide. Say 7 x 14.
Well, if I rotate the square 90 degrees, I now have a problem, because it will be 4 times wider than it is tall.
See the attached drawing for an example. The trees and boxes all are exactly square when shown on my display, yet in After Effects, I have to create them twice as tall as they are wide.
So, I need an expression, that based on rotation, scales the object correctly.
The other issue that I run into is that of sub-pixel interpolation. I need for all object to snap to a pixel. I am currently using this expression to accomplish this
newX = Math.round(transform.position)+.5;
newY = Math.round(transform.position);
So, what every you create needs to work with the concept of snapping to a pixel.