this post was submitted on 16 Sep 2024
718 points (93.3% liked)

memes

10705 readers
2064 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 3 months ago (1 children)

Yeah. The thing that made me "get" quaternions was thinking about clocks. The hands move around in a 2d plane. You can represent the tips position with just x,y. However the axis that they rotate around is the z axis.

To do a n dimensional rotation you need a n+1 dimensional axis. So to do a 3D rotation you need a 4D axis. This is bassicly a quat.

You can use trig to get there in parts but it requires you to be careful to keep your planes distinct. If your planes get parallel you get gimbal lock. This never happens when working with quats.

[โ€“] [email protected] 2 points 3 months ago

I still maintain that quats are the closest you can get to an actual lovecraftian horror in real life. I mean, they were carved into a stone bridge by a crazy mathematician in a fit of madness. How more lovecraftian can you get?