I'm trying to write a little code that steers the zoom into a specific pixel, but I can't quite figure out how x,y translate is behaving. For example, if i am using a [768,512] image, and I want to zoom into 100,200 over 30 frames, how do I calculate the translate and zoom numbers needed to do this. Sorry if this is the wrong place to ask, I've been stuck for awhile and am not getting much help on Discord/Reddit. Any guidence would be incredible, thanks so much!
I'm trying to write a little code that steers the zoom into a specific pixel, but I can't quite figure out how x,y translate is behaving. For example, if i am using a [768,512] image, and I want to zoom into 100,200 over 30 frames, how do I calculate the translate and zoom numbers needed to do this. Sorry if this is the wrong place to ask, I've been stuck for awhile and am not getting much help on Discord/Reddit. Any guidence would be incredible, thanks so much!