to calculate the angle, we only need to know the number of degrees/pixel and to put that numbers in the if statements