This content has been marked as final. Show 4 replies
I tried to get the screen height -1 and subtract fromThe only way I can think of would be write a method to convert a "normal" y coord to an applet y coord. That would probably end up being a huge pain in the ass, since you would have to pass all y coords through it before using them, so I suggest you just get used to y being upside down.
all the ys in my applet but it doesnt work all the
time. I am drawing shapes and stuff with an algorithm
I wrote for class.
is there a way to get origin(0,0) to the lower left
well you know, coordinates are relative. The x and y coordinates are positive the way we think of it ( (0,0) being at the lower left) just because it's convention for the Mathematics world to do so. They're just part of a vector space and you can see it from any view point and be semantically equal.
Just need to get used to looking at it upside down for programming Java, is all, be simpler that way