Not detracting from this post, but has anyone else noticed there's a front page post about Quaternions or Kalman filters on about a monthly cadence? Wonder why that is?
At least this is a topic that the average HN reader is likely to be able to understand and which is closely related to software. Several years ago there was a period where there were periodic posts about things like homotopy type theory and research-level algebraic geometry which inevitably spark only inane misunderstandings and uninformed speculation in the comments. I can only attribute it to some kind of fetish fo…
Rediscovering Quaternions
21–30 of 72 posts
Re: Rediscovering Quaternions
#22Re: Rediscovering Quaternions
#23Not detracting from this post, but has anyone else noticed there's a front page post about Quaternions or Kalman filters on about a monthly cadence? Wonder why that is?
Re: Rediscovering Quaternions
#24If I had to describe Quaternions to someone I would first try to explain a Plane (Ax + By + Cz + D = 0) to them. ABC being a (normal) direction that the Plane is pointed towards and D being the distance from the origin. A Quaternion from what I believe is just the same but instead of distance it just encodes the rotation around that direction as a fixed axis. (Instead the angle stored is half etc). Feel free to corre…
The first part kinda makes sense, but I have no idea what the paranthetical is intended to mean.
Re: Rediscovering Quaternions
#25Not detracting from this post, but has anyone else noticed there's a front page post about Quaternions or Kalman filters on about a monthly cadence? Wonder why that is?
Re: Rediscovering Quaternions
#26Earlier quoted context omitted.
Maybe because it intersects deeply with game dev?
yes, that's the module i learnt about them in during college. IMHO I think for me they're interesting because it felt like mathematically they straddle the line of being nearly impossible for me. I could just barely do them and felt very accomplished when I could. Anything else was either impossible or easy by comparison. assuming my maths skills are average here then most people have similar experiences with them.
Re: Rediscovering Quaternions
#27If I had to describe Quaternions to someone I would first try to explain a Plane (Ax + By + Cz + D = 0) to them. ABC being a (normal) direction that the Plane is pointed towards and D being the distance from the origin. A Quaternion from what I believe is just the same but instead of distance it just encodes the rotation around that direction as a fixed axis. (Instead the angle stored is half etc). Feel free to corre…
If you a explaining this to the average American, you are going to have to start a bit further back than a "Plane".
Re: Rediscovering Quaternions
#28If I had to describe Quaternions to someone I would first try to explain a Plane (Ax + By + Cz + D = 0) to them. ABC being a (normal) direction that the Plane is pointed towards and D being the distance from the origin. A Quaternion from what I believe is just the same but instead of distance it just encodes the rotation around that direction as a fixed axis. (Instead the angle stored is half etc). Feel free to corre…
If you a explaining this to the average American, you are going to have to start a bit further back than a "Plane".
Re: Rediscovering Quaternions
#293blue1brown 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)`