Essentials of Mechatronics  ISBN: 0-471-72341-X- ©John Billingsley 2006 - published John Wiley & Sons, Inc

9/2/1.htm Rotation matrix demonstration

Follow this link to a JavaScript  demonstration.

You can set the cube rotating about each of the coordinate axes.

The rotation matrix is shown, corresponsing to the orientation of the cube.

Click 'pause' to look more closely at the matrix.

With 'view source' you can see all the code involved.