by nighthawk454 · 1y ago · 0 comments
3blue1brown and Ben Eater did a series of interactive videos on the subject that can be explored:
My favorite demo on this point is this one: https://eater.net/quaternions/video/rotation
Where they have a toggle to go between `a + bi + cj + dk` quaternion notation and an equivalent formulation in terms of 3d orientation vector plus rotation angle as `cos(θ) + sin(θ)*(ai + bj + ck)`
Something's missing. Orientation in 3D space is a two-dimensional quantity; you would never need three dimensions to express it. The third dimension has to be providing some additional information, like a magnitude.
> Only if you’re describing orientation as two orthogonal rotations.
No, the space has the dimensionality it has. You may choose to describe a 3D orientation with more than two numbers, but you won't stop it from being a two-dimensional quantity that way. If you use more than two numbers, those numbers will fail to be independent of each other.
Your comment is essentially correct if you replace the word "orientation" with "direction", though.
But I agree it is helpful to think of quaternions as direction and spin.
q = cos(0) + sin(0)*(ai+bj+ck) = 1 + 0 = 1
That means applying the "rotation" to the vector gives v' = q * v * q^-1 = 1 * v * 1^-1 = v
So the output ("rotated") vector is the same as the input, as you would expect for a rotation by 0.