Physics Ninja looks at the rotation of a point or object around an arbitrary point or axis. The transformation is broken down into 3 steps. First, a translation is applied, followed by a rotation around the origin, and another translation operation is done. The entire transformation can be written in matrix form.
Geogebra simulation link: https://www.geogebra.org/m/gpwa3xtb
Rotation Video around the origin: • Rotation Matrix for 2D Vectors