Missing Coordinates. Basic Trigonometry Help.
- by TheDarkIn1978
please refer to my quick diagram attached below.
what i'm trying to do is get the coordinates of the yellow dots by using the angle from the red dots' known coordinates. assuming each yellow dot is about 20 pixels away from the x:50/y:250 red dot at a right angle (i think that's what it's called) how do i get their coordinates?
i believe this is very basic trigonometry and i should use Math.tan(), but they didn't teach us much math in art school.