See the rotations in action at http://twist-and-shout.appspot.com/. bu - av) should have been (av - bu) in the 3,4 entries in the last 4x4 matrices). This has been a popular reference for people seeking complete formulas for rotations about a line not through the origin. Similar expositions for the simpler problem of rotations about an arbitrary axis through the origin are found here in Section 2.3.1 and in The Nested dimensions section of the Rotation matrix article on Wikipedia (the matrix Q_u(theta) in the Wikipedia article is the matrix for rotation about the origin I give in Rotation About an Arbitrary Axis in 3 Dimensions). The last time I checked these articles lacked formulas for the rotations as functions. Below I've attached Java code for the rotations described in the paper. This uses the same notations as in the paper. As a programming exercise I've written a web application that gives a visualization of rotations at http://twist-and-shout.appspot.com/. |

Glenn Murray, Ph.D. >