prefer using vector math and then play with the unit vector (-(y2-y1)/sqrt(y1_y1+y2_y2), (x2-x1)/sqrt(x2_x2+x1_x1))
prefer using vector math and then play with the unit vector (-(y2-y1)/sqrt(y1_y1+y2_y2), (x2-x1)/sqrt(x2_x2+x1_x1))