Rotate a point by a given angle in degrees about an arbitrary centre of rotation.
To rotate a point about center (cx, cy) by angle θ: translate the point so the center is at the origin, apply the 2D rotation matrix, then translate back.
Rotation Formula
x' = cos(θ)(x−cx) − sin(θ)(y−cy) + cx; y' = sin(θ)(x−cx) + cos(θ)(y−cy) + cy
By mathematical convention, positive angles are counter-clockwise. Enter a negative angle for clockwise rotation.
This calculator handles arbitrary centers by translating, rotating, and translating back.