so in your case adding 50 to the x and y position will make position 0 0 the centre of your image. adding -50 to both x and y positions will make it go to top left corner…

]]>you are absolutely correct and I have been doing so.

I am trying to create a patch for my students that graphs a hyperbola in the form of ((x-h)^2)/(a^2))- ((y-k)^2)/(b^2))=1 on the standard xy coordinate plane so the student can “play around” with different values of h, k, a, and b to see how the graph responds.

The patching becomes increasingly complicated when trying to re-size or change the axises intervals so setting the relative position of (0,0) to the center would be helpful but not necessary.

Any suggestions or pointers on graphing functions using Max would be greatly appreciated.

Thanks!

]]>in JSUI coordinates there is ‘screen’, where (0,0) is top left same as lcd, and there is ‘world’ where (0., 0.) is the centre and the edges are ±1. for a square stage.

or

you could get away with only doing the offset once on lcd by recording the hyperbola as a sprite centred at (0,0) and then positioning it to the middle of the lcd when drawing the sprite…

I’d be interested to see what you have already (I’m resisting the urge to implement ((x-h)^2)/(a^2))- ((y-k)^2)/(b^2))=1 )

sdf

]]>