Rotate
Rotate
Section titled “Rotate” Category Matrix
Is Pair Node: No
Applies a rotation to the matrix, allowing for transformations around a specified center point. Images can be rotated directly or combined with other matrices for complex transformations.
Rotation Types
Section titled “Rotation Types”The rotation can be specified in different units, each affecting how the angle is interpreted. The available rotation types are:
- Degrees: The angle is specified in degrees, a common unit for measuring angles in geometry. One full rotation is 360 degrees.
- Radians: The angle is specified in radians, a unit of angular measure used in mathematics and physics. One full rotation is 2π radians, which is equivalent to 360 degrees.
Inputs
Section titled “Inputs” Type: Rotation Type (Enum)
Default: Degrees
The unit of the angle used for rotation. This determines how the angle is interpreted, whether in degrees or radians.
Angle
Section titled “ Angle ” Type: Double
Default: 0.0
The angle to rotate the matrix. This is the amount of rotation applied to the matrix, specified in the unit defined above.
Center
Section titled “ Center ” Type: VecD
Default: (0, 0)
The center point around which the rotation is applied. This point serves as the pivot for the rotation, determining how the matrix is transformed.
Image
Section titled “ Image ” Type: Painter
Default: unset
The image to apply the rotation to. This is the base image that will be transformed by the rotation matrix.
Input Matrix
Section titled “ Input Matrix ” Type: Matrix3x3
Default: Identity
Matrix to concatenate with the rotation. This allows for combining multiple transformations into a single matrix, enabling complex transformations.
Outputs
Section titled “Outputs” Output Matrix
Section titled “ Output Matrix ” Type: Matrix3x3
Default: Identity
The resulting matrix after applying the rotation. This matrix can be used for further transformations or rendering operations.
Output
Section titled “ Output ” Type: Painter
Default: unset
Painter instruction with the applied rotation. This output can be used to render the transformed image with the specified rotation.
All of our content is carefully written by hand, no AI was involved during the process.