Email or username:

Password:

Forgot your password?
Nikita Lisitsa

āœØA new article: (Yet another) Introduction to quaternions!

I'm a mathematician, so my desires are unconventional and my perspective is skewed, but I hope it will be useful at least in some way šŸ˜…

I've also added a useful cheatsheet in the end šŸ„³

lisyarus.github.io/blog/posts/

9 comments
ara

@lisyarus No matter how many I read, they make no sense at all. But I'll read this one as well!

Oblomov

@lisyarus

> it is just matrix multiplication (or is it called AI these days?)

LOL

Larry Smith

@lisyarus
Very thorough. I'll have to book mark it. It makes my old brain hurt.

I've always used transformation matrices derived from Euler angles. However I work with the perl PDL a lot, and internally their 3d graphics routines use quaternions. It might be useful for me to understand how to use them someday.

Eric Lengyel

@lisyarus Under "Quaternions in Clifford (aka geometric) algebra" near the end, there's a problem with your definition of i, j, and k. Notice that ij ā‰  k, but instead ij = āˆ’k, so these are not actually isomorphic to the quaternions. You need to negate all three bivectors so that i = āˆ’eā‚‚ā‚ƒ, j = āˆ’eā‚ƒā‚, and k = āˆ’eā‚ā‚‚.

Nikita Lisitsa

@EricLengyel You're right, thank you so much! Fixed all the issues and typos.

Eric Lengyel

@lisyarus There's also a typo in the "Quaternions in Clifford (aka geometric) algebra" section where you accidentally say eā‚eā‚ƒ = āˆ’eā‚ƒeā‚‚. There's another typo in the first line of the "Dot product via conjugation" section where the closing parenthesis is missing for (w,x,y,z).

j_bertolotti

@lisyarus I am not a statistically significant sample, but I really enjoyed this! šŸ˜ƒ

It is (obviously) the kind of topic one could write a book on, so in a blog post choices need to be made on what to include and what to skip. But overall it feels like a nice stepping stone for anyone who would like to learn about quaternions!

Go Up