2D Rotation Using Matrices

​
rotation angle (degrees)
90
show original polygon
show rotated polygon
show arc of rotation
show grid
This Demonstration illustrates the concept of rotating a 2D polygon. The rotation matrix is displayed for the current angle. The default polygon is a square that you can modify.

Details

For an angle
θ
, multiplying a vector in the plane by the matrix
cos(θ)
-sin(θ)
sin(θ)
cos(θ)
rotates the vector counterclockwise about the origin.

Permanent Citation

Mito Are, Valeria Antohe, Sergio Hannibal Mejía, Jaime Rangel-Mondragon
​
​"2D Rotation Using Matrices" from the Wolfram Demonstrations Project http://demonstrations.wolfram.com/2DRotationUsingMatrices/​
​Published: October 20, 2010
© Wolfram Demonstrations Project & Contributors |Terms of Use