## Forums like these give me faith in humanity.I am busy with little

Forums like these give me faith in humanity.

I am busy with little project and I've just come out of angular physics after taking a deep breath only to have my head pushed back into the black deep waters of quaternions. I thought having the angular velocity is all I need, and I simply had to add the angular velocity to the current orientation for the rotation to work. "NOPE!" laughed whatever god was in charge of rotational maths, "Now suffer" he uttered the words. The god of mercy gave me this site, and I hope the god of explaining uses it.

My questions are:
I have my angular velocity as a 3D vector, great. Why can't I directly translate angular velocity to rotation? And what makes quaternions so star spangling special that they can? And every time I think I'll reach some downhill in the programming of my project where I can just cruise on the hard earned knowledge of getting up this hill, I see another cliff I have to climb, so can you guys tell me what else I might run into?

Thank you very much

Sparrow
 3D rotations are tricky. That's because they are not commutative. So mathematically that's modeled by non-commutative things as well. Either 3x3 rotation matrices, or quaternions. Both work, but quaternions are sometimes seen as the better tool. This article seems to explain that nicely: http://en.wikipedia.org/wiki/Quatern...atial_rotation
 Conceptually, it's better to think of rotations happening in a plane rather than about an axis. When you rotate an arbitrary vector, you need to find the parts that lie in the rotational plane and rotate them while leaving the parts outside (perpendicular to) the rotational plane alone. Quaternions give a very turn-crank, "don't need to think about it" approach to doing this. The math itself may be a little exotic, but once you do understand it, you can easily turn any angular velocity into a quaternion and find the associated rotation. So quaternions are of great interest at least historically. To marry them into a traditional vector algebra framework may be unclear, but geometric algebra handles that very well (as well as the entire theory of linear algebra on finite vector spaces in a way that is coordinate free).

## Forums like these give me faith in humanity.I am busy with little

Thanks, I've read up a bit more, but I can't find anything that tells me what they actually are, or how a graph of one will change if you increase a value by one, or if they have amplitude or anything. Is it possible to explain how a quaternion looks or feels?
 Perhaps the best way to think about it is to see how rotations are built from reflections. Any two successive reflections builds up a rotation. You just need to know the two normal vectors to the plane of reflection to do this. The scalar part of the quaternion is the dot product of these two vectors. The imaginary part comes from the cross product of the two vectors. Generally, I stop there and just say it's a scalar number plus a plane of rotation (cross products should technically make planes). Geometrically picturing this union is somewhat difficult, I admit. Quaternions do have amplitude, and if the magnitude of a quaternion isn't 1, then it will also dilate any vector it acts upon (stretching as well as rotating).

Recognitions: