Rotations around points other than the origin
Move point O to another point on the coordinate plane and then rotate.
Rotations about a point other than the origin
1. Subtract the point of rotation from the coordinates of each vertex of the polygon
2. Rotate as normal
3. Add the point of rotation back into the new vertices of the polygon.
Try it yourself!