-
Scale Image Between Two Nulls
Lets say I have two nulls that I want to animated independently. I’ll use an expression to find half way between their position (that’s the easy part) no problem. Here’s where I’m racking my brain… an expression to find the scale of the image between these two points… While maintaining the aspect ratio.
I’ve got this far:
I know that it’s essentially two different expressions. One finds the X distance between the two nulls, and finds the scale. Another finds Y distance between the two nulls, and does the same. But then it needs to have a ‘choose the lesser value’ expression to pick which one to use at that given time. (Because remember, I need to maintain the aspect ratio)
Has anyone ever attempted this before?