Question: what are the rules rotation?
Answer: The general rule for rotation of an object 90 degrees is (x, y) --------> (-y, x). ... The rules for the other common degree rotations are: For 180 degrees, the rule is (x, y) --------> (-x, -y) For 270 degrees, the rule is (x, y) --------> (y, -x)