This video explains what the transformation matrix is to rotate 90 degrees anticlockwise (or 270 degrees clockwise) about the origin.
matrices - 210 degree 3D rotation matrix anti-clockwise - Mathematics Stack Exchange
90 Degree Anticlockwise Rotation Transformation Matrix
Rotate Matrix by 90 Degrees in Java Rotate Matrix in Java Clockwise and Anti-clockwise - Javatpoint
python - How do I rotate an image manually without using cv2.getRotationMatrix2D - Stack Overflow
Rotation Matrix - Definition, Formula, Derivation, Examples
90 Degree Clockwise Rotation Transformation Matrix
matrix90
A-Level Further Maths: C3-23 3D Matrices: Rotation of 90 degrees anticlockwise about the z-axis
image rotation
matrix90
Matrix Rotations
Rotation matrix - Wikipedia