Online computer calculates the rotation of a 4x4 matrix around the Z axis
The active matrix rotation (rotating object) or the passive matrix rotation (rotating coordinates) can be calculated
For the passive matrix rotation, the vector of a center for the rotation can optionally be specified
The unit of measurement for the angle can be switched between degrees or radians

The matrix rotation distinguishes between active and passive rotation.
With active rotation, the vector or the object is rotated in the coordinate system. The active rotation is also called a geometric transformation. The rotation is counterclockwise.
Example of a 90 ° rotation of the Zaxis
With passive rotation, the coordinate system is rotated. The vector remains unchanged. The rotation is clockwise.
Example of a 90 ° rotation of the Zaxis
