Let's say my panoramic picture is width: 1600px, height:1400px
I am capturing mouse.x and mouse.y -> 55,65
Now I go to left 200 degree in panoramic view
I put mouse pointer to exactly same position on the screen and capture mouse.x and mouse.y -> 55,65
v and h values differ. However I cannot find out the position of my mouse on the 1600 x 1400 picture (for example like x: 1200px y: 600px)
if at the middle top of picture v=90degree and h=0degree I guess I can convert these values with javascript codes to crop the image in the server. I wanted to ask if there is a method already doing that kind of thing.
Secondly, I've created a method to determine ellipse points. However when I move backside since 179 degree and -179 degree are contiguous the ellipse function takes the long way to determine points like (179,y),(178,y),....(1,y),(-1,y)....(-178,y),(-179,y). At that part I guess I should fix the ellipse function. Is there already a function that can achieve creating rectangular or elliptical hotspots?