General rotations
Move the slider to change the angle of rotation
You can move the points A, B and C to change the blue object shape. The green shape is the rotation of the blue shape about the origin.
Click the check boxes to see the matrix and the matrix calculation.