Rotation about a Point in the Plane
Rotation about a Point in the Plane
In this Demonstration you can rotate a square, a triangle, or the letter L about the point in the plane, choosing the coordinates with the "translation by " sliders or by dragging the point in the graphic. Change the angle to see the rotation about the point . The matrix of the rotation is given by the product of three operations (from right to left): translation by , rotation around the origin, and translation back by .
p=(x,y)
(x,y)
p
θ
p
3×3
-p
p
Details
Details
This Demonstration illustrates how to rotate a 2D graphical object about a point in . This can be done by composition of three matrices applied to the object described in Homogeneous Coordinates. The rotation about can be achieved by first translating the figure by with the matrix , rotating about the origin by with the matrix , where , and finally translating back to with the matrix .
p=(x,y)
2
3×3
p
-p
I | -p |
0 | 1 |
θ
A | 0 |
0 | 1 |
A=
cos(θ) | -sin(θ) |
sin(θ) | cos(θ) |
p
I | p |
0 | 1 |
External Links
External Links
Permanent Citation
Permanent Citation
Ana Moura Santos, Pedro A. Santos, João Pedro Pargana
"Rotation about a Point in the Plane"
http://demonstrations.wolfram.com/RotationAboutAPointInThePlane/
Wolfram Demonstrations Project
Published: January 5, 2011

