The setCanvasSize function now takes a third parameter which can set the coordinate system to be equivalent to the regular mathematics cartesian plane where y increases as it goes up and hence (0, 0) would be the bottom left of the screen. The mouseX and mouseY variables are not currently converted in this situation but they should be!
The setCanvasSize function now takes a third parameter which can set the coordinate system to be equivalent to the regular mathematics cartesian plane where y increases as it goes up and hence (0, 0) would be the bottom left of the screen. The mouseX and mouseY variables are not currently converted in this situation but they should be!