sibaku · @sibaku
34 followers · 55 posts · Server mas.to

Quaternions are one of those things I see a lot of people in CG being confused about (doesn't help that a lot of people leave out "normalized"). If you are only planning to use them for rotations, their meaning is simple: A quaternion is a rotation about an angle around an axis. That's it. They are NOT three angles. I wrote a small derivation of the maybe confusing qpq* formula. Only really requires trigonometry and vectors.
liascript.github.io/course/?ht

#quaternions #cg #math

Last updated 1 year ago

Frank Abelbeck · @frank
33 followers · 167 posts · Server troet.cafe

GoPro HERO9 saves the camera orientation as quaternion in its telemetry data. Fine.

I can extract pitch, roll, and yaw from it. Hurray. Primary flight display overlay, here we come!

But yaw is drifting, a lot more than the expected 15°/h * sin(latitude). Measured at rest, camera upside down.

Any suggestions what might be the cause?

A silicon IMU accumulating an error of approx. 271°/h is... weird. 🤔

#quaternions #gpmf #gopro

Last updated 1 year ago

VoR · @sketchpunk
149 followers · 221 posts · Server mastodon.gamedev.place

Adding some constant to my lil math library. These are the rotations to set a camera to be axis aligned, well they work for at least anyway. Posting incase anyone needs anything like this for quick setting a camera's look direction.

#quaternions #threejs #gamedev #indiedev

Last updated 2 years ago

I've been spending a lot of time trying to wrap my head around hyperbolic quaternions, as part of some maybe-physics-relevant math ideas popping into my head while I'm convalescent.

I don't hate you, dear reader, so I will not be referring to them as "hyperquats". Pinky swear.

Have this 3B1B video on quaternion visualizations, which I'm currently re-watching for inspiration: youtube.com/watch?v=d4EgbgTm0B

#math #quaternions #hyperbolicgeometry

Last updated 2 years ago

VoR · @sketchpunk
125 followers · 140 posts · Server mastodon.gamedev.place

sketchpunklabs.github.io/ikwon
IK Wonderland update, I decided that it was important to start with as there's no point moving forward without a good understanding of the subject.

First draft is a big data dump of what I know about the damn things PLUS Tips & Tricks. If anyone has their own tips & tricks that want to contribute, please do :)

#gamedev #animation #ebook #math #metaverse #quaternions

Last updated 2 years ago

Ricardo · @RGBes
326 followers · 3558 posts · Server mastodon.social

Quaternions are Amazing and so is William Rowan Hamilton! | Kathy Loves Physics & History

youtube.com/watch?v=CdwxpSInhv

#william_rowan_hamilton #quaternions #history #mathematics #science

Last updated 2 years ago

cos · @cos
218 followers · 1674 posts · Server fosstodon.org

#quaternions #gamedev

Last updated 2 years ago

Niall O'Callaghan · @nocalla
41 followers · 364 posts · Server mastodon.ie

I thoroughly agree with God's opinion on quaternions. smbc-comics.com/comic/dimensio

#smbc #quaternions

Last updated 2 years ago

Leslieks · @Leslieks
148 followers · 498 posts · Server vmst.io

Homework help!! Do I know anyone out there who understands quaternions who can help my HS senior with some homework? Specifically how quaternions work in the context of video game design. He’s working on an IB assessment and can’t get the math right for what he’s designed and it’s not working. I’m absolutely no help.

#homeworkhelp #homework #videogamedesign #gamedesign #videogames #quaternions

Last updated 2 years ago

Kenneth Freeman · @Kencf618033
174 followers · 3099 posts · Server social.linux.pizza

I need a of Home, Local, and Federal. I strongly suspect that one of these is orthogonal to the others. may be involved.

#quaternions #venndiagram

Last updated 2 years ago

Arnoud Buzing · @arnoudbuzing
1 followers · 4 posts · Server mathstodon.xyz
Simon Koch · @pea_adic
33 followers · 97 posts · Server mathstodon.xyz

Calculating by hand is very tedious yet very satisfying.

I calculated that the point (1|2|3) when rotated by 56° around the axis \(\begin{pmatrix}1\\3\\1\end{pmatrix}\) gets moved to approximately (2.71|1.82|1.83).

Calculating took around 20 minutes. Checked with in seconds.

#wolframalpha #quaternions

Last updated 2 years ago

Simon Koch · @pea_adic
33 followers · 96 posts · Server mathstodon.xyz

eater.net/quaternions

A beautiful interactive experience by and Ben Eater, which does a wonderful job at visualizing multiplication and how it can be used to model 3d rotations.

#quaternions #3blue1brown

Last updated 2 years ago

Simon Koch · @pea_adic
33 followers · 96 posts · Server mathstodon.xyz

eater.net/quaternions

A beautiful interactive experience that does a wonderful job at visualizing and their multiplication and how they can be used to model 3d rotations.

#quaternions

Last updated 2 years ago

Paxtian · @Paxtian
67 followers · 62 posts · Server mastodon.gamedev.place

Ohhhhh, okay. So the key to in is to just not try to figure out the individual values and just use the member functions. Got it.

#unity #quaternions

Last updated 2 years ago

Jon Awbrey · @Inquiry
87 followers · 306 posts · Server mathstodon.xyz

@johncarlosbaez

I remember was real big on the use of in .

Cursory search turns up this —
jstor.org/stable/3609461

#physics #quaternions #eddington

Last updated 2 years ago

Transmission Control 📡 · @protocol6
6 followers · 22 posts · Server mas.to

Is the order of the in a just a matter of preference?

(w+ix)+j(y+iz) = w+ix+jy−kz
(w+xi)+(y+zi)j = w+xi+yj+zk

Either it matters or −kz = zk. Wouldn't the same be true for i & j? So those still aren't equal?
That would mean (a+ib)* = (a+bi). And so |a+ib|² = (a+ib)(a+bi)= a²+ibbi+abi+iba = a²+b²-aib+iba, given -ib=bi.
Consistency would prevent you noticing i doesn't commute with reals, either.

That's... disturbing.

#quaternions #mathematics #maths #math #complexnumber #imaginarynumber

Last updated 2 years ago

Transmission Control 📡 · @protocol6
12 followers · 47 posts · Server mas.to

Is the order of the in a just a matter of preference?

(w+ix)+j(y+iz) = w+ix+jy−kz
(w+xi)+(y+zi)j = w+xi+yj+zk

Either it matters or −kz = zk. Wouldn't the same be true for i & j? So those still aren't equal?
That would mean (a+ib)* = (a+bi). And so |a+ib|² = (a+ib)(a+bi)= a²+ibbi+abi+iba = a²+b²-aib+iba, given -ib=bi.
Consistency would prevent you noticing i doesn't commute with reals, either.

That's... disturbing.

#quaternions #mathematics #maths #math #complexnumber #imaginarynumber

Last updated 2 years ago

Puppy Pi · @codepuppy
184 followers · 6704 posts · Server mathstodon.xyz

@dannyboy :D!

Well it's actually a little bit different than I said there; I corrected myself a few posts down ^^'

But you know how in a given coordinate system, a 3D vector is basically just 3 numbers?

Well in a coordinate system, a quaternion is basically a group of four numbers! Usually called a,b,c,d

(0/(n-1))

#KnowledgeSharing #geometry #math #quaternions

Last updated 4 years ago

Puppy Pi · @codepuppy
184 followers · 6704 posts · Server mathstodon.xyz

AHHHHHH I finally understand quaternions!! XDD :DD

I always thought they were neat fun thing in abstract algebra and a neat but arbitrary way of representing rotations with unnecessarily extra numbers.

If someone had just said to me this sentence I would have seen how insanely perfect they are!! :D

As rotations, the i/j/k coefficients are the x/y/z components of the axis-of-rotation vector, and the fourth lone number is the amount of the rotation in radians!

#quaternions #geometry #math

Last updated 4 years ago