News for hackers. Stuff that matters.
Re:Supplanting matrices with Geometric Algebra in a forward ... by enkimute on Wednesday February 28, 2024 @02:10PM (#39542325)
For specifying animations, you should work in the quaternion lie algebra, not in the group as you suggest. There you can represent 1620 degrees without any problem. Furthermore, in the quaternion Lie algebra (pure imaginary quaternions), and only in that space, you can take an arbitrary rotation key, multiply all 3 of its values with 10 and get 10 times that rotation without change in axis.

If you rotate around just one axis, the Lie algebra feels just like Euler angles .. in fact its exactly the same thing, but if you rotate around more than one .. it keeps working intuitively and usably - Euler angles absolutely do not.

Re:Supplanting matrices with Geometric Algebra in a forward ... by hn8305823 on Wednesday February 28, 2024 @02:15PM (#39542370)
Also, the use case for quaternions depends on how many times you will be applying the same rotation. If it's a few or dozens of times then maybe not the most efficient. If it's million or billions then you are going to want to use quaternions.

This is mainly due to the cost of converting to and from the rotation vector.

Re:Supplanting matrices with Geometric Algebra in a forward ... by xeonmc on Wednesday February 28, 2024 @04:02PM (#39543373)
i.e. keep it in vector form if you're combining them a lot, convert to polar form when you want to work with angles