Example
Rotate A Point About An Origin
geometric.pointRotate(point[, angle[, origin]]) returns the coordinates resulting from rotating a point about an origin by an angle in degrees. If angle is not specified, defaults to 0. If origin is not specified, the origin defaults to [0, 0].
Drag the point or the origin, then change the angle to see the rotation.
Code