Quaternions and 3d rotation, explained interactively

Поділитися
Вставка
  • Опубліковано 10 тра 2024
  • Go experience the explorable videos: eater.net/quaternions
    Ben Eater's channel: / eaterbc
    Help fund future projects: / 3blue1brown
    An equally valuable form of support is to simply share some of the videos.
    Special thanks to these supporters: 3b1b.co/quaternion-explorable-...
    Previous video on Quaternions:
    • Visualizing quaternion...
    Nice explanation of Gimbal Lock:
    • Euler (gimbal lock) Ex...
    Great videos comparing Euler angles and quaternions, from the perspective of an animator:
    • Humane Rigging 03 - 3D...
    • Humane Rigging 03 - 3D...
    Music by Vincent Rubinetti:
    vincerubinetti.bandcamp.com/a...
    ------------------
    3blue1brown is a channel about animating math, in all senses of the word animate. And you know the drill with UA-cam, if you want to stay posted on new videos, subscribe: 3b1b.co/subscribe
    Various social media stuffs:
    Website: www.3blue1brown.com
    Twitter: / 3blue1brown
    Reddit: / 3blue1brown
    Instagram: / 3blue1brown_animations
    Patreon: / 3blue1brown
    Facebook: / 3blue1brown

КОМЕНТАРІ • 765

  • @dragonfiremalus
    @dragonfiremalus 3 роки тому +1390

    I am a software engineer at a rocket company. There was a bug discovered in the code having to deal with interpreting rocket orientation in some simulation code originating from a mistake in the quaternion math. Despite having a physics degree, I was not at all familiar with quaternions so I turned to the internet for guidance. Your videos on quaternions helped me understand them enough to discover the mathematics mistakes and derive the correct formulae. Just thought you'd like to know this video helped launch rockets :)

    • @JKTCGMV13
      @JKTCGMV13 Рік тому +67

      I'm a software engineer in aerospace too. Coming back to this video of his because now they want me working with quaternions. I definitely recommend the interactive version of these videos for anyone really trying to learn quaternions.

    • @peanies948
      @peanies948 Рік тому +33

      I am also a rocket in software engineering and this work has helped a lot with my video,nuclear weapons work with me and it was help

    • @JKTCGMV13
      @JKTCGMV13 Рік тому +14

      @@peanies948 you are a rocket who can use the Internet and nukes work with you? Sounds like GBSD is going to have some real cutting edge AI ( ͡~ ͜ʖ ͡°)

    • @peanies948
      @peanies948 Рік тому +7

      @@JKTCGMV13 ahh my pocket is full of banana seeds

    • @joshwoloszyn
      @joshwoloszyn Рік тому +15

      @@peanies948 i am also a engineer in rocket aerospace too, and I need your help. send nukes

  • @DarkCloud7
    @DarkCloud7 5 років тому +778

    I don't say this lightly: Your videos and especially these interactive videos will pioneer the future of education.
    I'm often disappointed in our school system ( here in germany but probably applies for other countries as well).
    Schools don't use the potential of modern media thereby being inefficent and wasting the stundent's time and undermine their curiousity. As a teacher I try to work against that but get caught in the same fatigue rather often. But being confronted with new topics this way I become like a child again in the best sense : I'm curious and full of wonder. And it's fun to learn something new. I have regained hope that school can be like that most of the time for future generations of students.

    • @hierkonnteihrewerbungstehe5636
      @hierkonnteihrewerbungstehe5636 3 роки тому +13

      I fully agree. Since my school is closed cause of Corona I'm studying by using things like this (often instead of my homework). I have the feeling that i'm learning much more than I would normally do during school. I'm almost sad that next week I have to go to school again and become forced to boredom instead of using my curiosity to learn new things.

    • @daniboy2619
      @daniboy2619 3 роки тому +9

      Its wonderful that you as a teacher is doing this. Teachers who are daring enough to try something new and not care about their paycheck all the fucking time is godfind, but I can only hope more teachers get into education with that mindset

    • @Bonniebelle_00__
      @Bonniebelle_00__ 3 роки тому +1

      seem like limit of thing that are less than

    • @benja_mint
      @benja_mint 3 роки тому

      australian living and working in germany: i'm always amazed and incredibly jealous when i hear how much better my german colleagues/friends' high school education was., compared to mine

    • @benja_mint
      @benja_mint 3 роки тому +1

      @Calum Tatum we also seem to have a big emphasis on sport. Cricket and football are much more important than STEM :p

  • @abstractvector1592
    @abstractvector1592 5 років тому +655

    What hyperdimensional aspect ratio should I watch this in?

    • @icvidz1
      @icvidz1 5 років тому +66

      u need to project this video on a 2d plane. its only fitting!

    • @mateussouza3979
      @mateussouza3979 5 років тому +51

      21:16:10:9.

    • @elnolde754
      @elnolde754 3 роки тому +14

      Sorry, but there is only one Answer to this: 42

    • @Bonniebelle_00__
      @Bonniebelle_00__ 3 роки тому +1

      im not sure im still learning myself

    • @scrungozeclown836
      @scrungozeclown836 3 роки тому +6

      4900 hypervoxels

  • @xavierinthetube
    @xavierinthetube 5 років тому +50

    Outstanding work. Together with Ben, you are setting the standard for how the next generation of educational material should look like. I'm very impressed by your work in general and I didn't imagine it was possible to go so much further. This is so good, I'm still in shock.
    You are making humanity fundamentally richer. There is no telling how big an impact innovations in education like this one will have in our collective future.
    I'm proud of being a patron, I just doubled my pledge.

  • @BradenEliason
    @BradenEliason 5 років тому +148

    This is perhaps the highest quality content I've ever seen on the internet, not just on UA-cam. Absolutely incredible work.
    I just became a patreon contributor because of this video.

  • @auntie_alias
    @auntie_alias Рік тому +11

    After smashing my head against quaternions for almost a decade, this interactive simulation video has finally put things in some perspective.
    Furthermore, the format of that platform is so powerful and SO smoothly executed.
    Bravo, Grant and Ben. 👏 I am in awe!

  • @3blue1brown
    @3blue1brown  5 років тому +900

    You can find the explorable videos at eater.net/quaternions

    • @user-ih3eu6ly7s
      @user-ih3eu6ly7s 5 років тому +3

      i thing i have made a new system for 3d rotation and it doesnt break multiplication
      edit#contact me in discord miketheking5#0399

    • @electra_
      @electra_ 5 років тому +9

      He's probably not going to just put it in a pastebin and put it here so the youtube commenters can see

    • @JorgetePanete
      @JorgetePanete 5 років тому +1

      yep

    • @dotanuki3371
      @dotanuki3371 5 років тому +2

      Very nice. For the interactive videos, it would be nice if it paused progression until there hasn't been interaction for a while. When you go 'try playing around for a while .. ', and the video continues until the next segment where audio and interaction is played back, it just takes over what the user is currently doing. I get that the user can pause, but the playback could also put itself on hold until the user has not done any input for a while.

    • @MrLikon7
      @MrLikon7 5 років тому +9

      I remember the comment suggesting that name

  • @AdvosArt
    @AdvosArt 5 років тому +176

    >19th century versions of Wolverine and the old man from home alone
    My sides

    • @Bonniebelle_00__
      @Bonniebelle_00__ 3 роки тому

      gesus

    • @dsdy1205
      @dsdy1205 3 роки тому

      Justice for Hamilton

    • @Zero_Chaos
      @Zero_Chaos 3 роки тому

      I had to rewind so I could process what he said, and then I paused the video and laughed for like 5 minutes

  • @andy_lamax
    @andy_lamax 5 років тому +87

    Being a software programmer, and a mathematician. I can tell the lengths 3b1b went for this video. No one has gone these lengths for a youtube video, I repeat. NO ONE

    • @ooseven4696
      @ooseven4696 Рік тому +9

      the source code seems to have 6000+ lines of code, must have been one heavy project

    • @fizipcfx
      @fizipcfx 8 місяців тому

      to be honest, writing videos with manim quickly becomes hundreds of lines but writing 3d scenes with rotations are wayy too complicated for my dumb ass

  • @francispicotte6174
    @francispicotte6174 4 роки тому +84

    2:30 Me trying to tell my prof that singularities are features, not bugs.
    Also: me, later, trying to tell my parents how an F is actually an A+ in 4D space.

  • @willstone8313
    @willstone8313 5 років тому +189

    This channel just keeps getting better!
    3Blue & 1Brown takes a "Why?"
    And, with logic disarmingly sly,
    (Plus cool animation
    And soothing narraration!)
    Makes the complex as easy as Pi
    --Best Wishes for Vivid Dreams & ongoing Flashes of Insight

  • @anthonyparfilko3548
    @anthonyparfilko3548 5 років тому +162

    If you hold your mouse pointer in between the pi creature's eyes on the interactive video, it goes cross-eyed.

    • @theredstonehive
      @theredstonehive 4 роки тому +13

      If you put the mouse on the eye pi shuts his eye.

    • @FinBoyXD
      @FinBoyXD 4 роки тому +6

      @@theredstonehive So does Linus the linelander. Btw, the Pi's name is Felix (the flatlander, at least in the 3D explorable video).

    • @carlos77121
      @carlos77121 3 роки тому +5

      If you hold the pointer at infinity it goes wall-eyed.

    • @Bonniebelle_00__
      @Bonniebelle_00__ 3 роки тому +1

      wow

    • @nfgallimore
      @nfgallimore 3 роки тому +3

      @@theredstonehive and frowns

  • @quahntasy
    @quahntasy 5 років тому +12

    You are a living legend. These animations are so cool its amazing.
    Was worth the wait.

  • @Pluthard
    @Pluthard 5 років тому +4

    What a nice video once again! I'm very glad that channels such as yours keep on giving quality maths contents. As a matter of fact, my professor recommended we watch several videos of yours in order to understand math more graphically and geometrically.
    Hopefully, students that watch your video will become searcher that unravel mathematics because we need this kind of people today. Please, keep up this great work!

  • @darshangupta3804
    @darshangupta3804 5 років тому +24

    Nowadays your teaching helps me in my other subjects too

  • @bobbiewu1431
    @bobbiewu1431 5 років тому +2

    After watching this and the interactive videos, whenever I think of 3d rotations again, I cannot resist thinking in terms of the quaternions. There is just no other way that is more elegant than this!

  • @Meta11axis
    @Meta11axis 5 років тому +12

    This was exceptional, and I can honestly say that this is the first time I felt I truly begun to understand quaternions! Thank you!
    One note about the interactive videos: Could there be a "zoom" control as well? It would make it PERFECT

  • @RossUnger
    @RossUnger 5 років тому +3

    The interactive videos are amazing! I finally feel like I have an intuitive grasp of quaternions and hyperspheres...I've been sooo confused for years

  • @bkboggy
    @bkboggy 5 років тому +5

    I am so happy you've created this. I work in VR and this is invaluable for me.

  • @skylxykt8387
    @skylxykt8387 2 роки тому +7

    I just did the interactive thing and I feel genuinely enlightened lol.
    As a hobby gamedev, quaternions have probably been the topic I've avoided most. Like all other topics I feel like I've been able to at least learn something about, but quaternions have always escaped me. I left it to "confusing computer math stuff I can't understand" and just used the functions that convert to and from euler angles. I saw another one of your videos, possibly a livestream, where my mind was blown by the simplicity of using cos(x) + i*sin(x) to represent 2d rotation, but seeing it apply to quaternions, where i just gets replaced with an axis for it to work in 3d is even more mind-blowing. I feel like I actually understand quaternions now, even enough to actually use them too. I cannot express the shear amount of confusion I went through trying to learn about them at first before giving up. This is the by far the best explaination and especially visualization ive seen for them! Awesome work!

  • @khernandezpardo
    @khernandezpardo 5 років тому +1

    Mind blown!!! Great job to both, you for the excellent explanations, and Ben for the amazing web development. So worth the wait!

  • @ZunderCraft
    @ZunderCraft 5 років тому +1

    I have never seen such good educational content as in your colab! This is truly mind blowing. Keep it up, you are an inspiration

  • @abhinav_mzn
    @abhinav_mzn Рік тому

    You way of explaining concepts with the help of these visualizations and interactive interfaces is very much appreciable...This should be the way of teaching in this advanced and technical world.

  • @Katonje
    @Katonje 5 років тому +2

    You sir deserve a medal. Thank you for providing so valuable content. Keep up the great work!

  • @ghostriley22
    @ghostriley22 5 років тому +2

    Totally worth waiting!!
    Finally a simpler and more visual friendly approach to quaternions

  • @NoobMasterX1
    @NoobMasterX1 5 років тому

    A 5 mins video is more clear then whole semester of lectures. Thank you again for providing free knowledge of UA-cam !!!

  • @infinityinf1
    @infinityinf1 5 років тому +1

    I always have to remind my that this channel is not that old because it should have 20 million subscribers! Always worth the wait for your videos because they're a real treat!

  • @chaoticgood7128
    @chaoticgood7128 Рік тому

    I've never had a good picture of what quaternions were supposed to be doing until now. The explorable video was incredibly helpful. Thank you for putting this together.

  • @yurapolyachenko6978
    @yurapolyachenko6978 5 років тому

    This is really exceptional! Explorable videos are the best educational tool I've ever seen so far in my life. And they are potentially perfect to use in many more topics. GREAT!!

  • @juansantana2973
    @juansantana2973 5 років тому

    Incredible effort in those animations, along with a great explanation. Thank you!

  • @JunkiMoturi
    @JunkiMoturi 2 роки тому

    Been trying to wrap my head around this and your interactive videos really got me there. I feel pretty confident about this. Cheers mate

  • @askaramantayev
    @askaramantayev 5 років тому +7

    keep up the awesome work you do, it just nails it all, really feels like a fight for dignity, love it

    • @askaramantayev
      @askaramantayev 5 років тому

      just watching it gives so much insight on how the whole works, be it the outside world or inner perception, its all interconnected, its all really ONE with zillion faces

  • @SarahScratches
    @SarahScratches 5 років тому

    This is amazing! Had an aha moment during the last interactive video on quaternions and 3d rotation. When you showed how some, but not all, of the rotation of the first quaternion was canceled out by the inverse quaternion.

  • @Aquelzor
    @Aquelzor 5 років тому +151

    Question! During your studies, did you ever study any Control Theory? Like linear algebra, I feel it's a course that many struggle with fully grasping a lot of core concepts. After watching your videos on LA (which cleared up more in 40 minutes than half a year of university) I am just convinced you could do wonders helping students visualize and grasp a lot of core concepts there. Your way of explaining seems vastly superior to most educational channels that I've come across here.
    Huge kudos from Sweden. Keep this art up.

    • @Aquelzor
      @Aquelzor 5 років тому +8

      @@Gonza-lh2vo can't say I disagree.

    • @rdc6612
      @rdc6612 Рік тому +1

      I literally have this exam in three days lol it would be nice

    • @TheLpd1
      @TheLpd1 Рік тому

      YES YES YES

    • @RugnirSvenstarr
      @RugnirSvenstarr Рік тому

      Anyone looking for this I recommend Steve brunton's lecture series here on UA-cam. Not as high quality as 3b1b but it was great for me

    • @JeffMTX
      @JeffMTX Рік тому

      @@RugnirSvenstarr Brunton and Nathan Kutz are awesome. I used their (and Peter Schmidt’s) DMD tutelage in my phd thesis

  • @helloimnisha
    @helloimnisha 5 років тому +120

    Totally worth the wait.

  • @fevsea
    @fevsea 5 років тому

    I used to think this those math explanations and visualizations cannot be better, and then, this, truly interactive videos. Just amazing.

  • @yoavmatia
    @yoavmatia 2 роки тому +1

    I am so happy to be among your Patreon supporters; you are a fantastic educator!

  • @joshperry6383
    @joshperry6383 3 роки тому

    Absolutely extraordinary teaching mechanism. Well done @3Blue1Brown and to your friend. This was like looking into the future and seeing what education looks like. I'm blown away. And grateful! I'm literally using this in professional work.

  • @reik2006
    @reik2006 5 років тому

    Three hours later. Totally epic project! Really trippy to think of the sphere as the stereoscopic projection of the hyper-equator. Really nice to see the analogous behavior comparing it with the projected 2d case playing around with positive and negative real part and seeing the projected pole moving inside out to the equator for positive real part and for negative real part moving from infinity inwards.

  • @christianayers6174
    @christianayers6174 5 років тому +6

    You really outdid yourself with this one Sanderson

  • @musicalBurr
    @musicalBurr 5 років тому

    Just checked out the explorable videos - so wonderful!
    You gave me that AHA moment that I wish I had had 30 years ago. I understand quaternions quite well (so I thought) but wasn't clear about what the code was doing that converted them to a 3x3 rotation matrix, but FINALLY I totally get what it's doing!!! BTW - it just goes to show you that you don't necessarily need to know all there is to know to move forward in math, for example, I wrote the math library that includes quaternions and matrix multiplications, points vectors etc. that's at the core of both Maya and AutoCAD, both of which are exposed to 3rd party developers via the API, so if you made a call to such a function, then I wrote, named, designed etc. that code, you're calling. I've taught many folks about quaternions, but NEVER with the insight I've gained from your work Grant! Thank you!
    I also LOVE your video about Fourier transforms, an I have a goal now to get a handle on quaternion Fourier transforms, I could really use your help! :-)

  • @Oxmond
    @Oxmond 4 роки тому +1

    Great video! I use Quaternions/euler angles almost every day when rotation stuff in a 3D space - but it's still really difficult to understand. So thanks a lot! 👍🤓😍

  • @mrdr4934
    @mrdr4934 4 роки тому

    THANK YOU!!!!! I've been trying to figure out quaternions for a long time now. This demonstration really helped! Keep up the good work!

  • @rockapedra1130
    @rockapedra1130 4 роки тому

    Wow! That interactive app really brought it home! Fantastic work by both of you! Thanks!!!

  • @faiphei3091
    @faiphei3091 3 роки тому +2

    Can we just appreciate what a smart idea it was to put the first part of the explorable video on UA-cam so that UA-cam can recommend it to people?

    • @faiphei3091
      @faiphei3091 3 роки тому

      Although I do still that this video should have more than 500K views

  • @titouanparcollet5115
    @titouanparcollet5115 5 років тому +10

    I'm actually a second year PhD student working on "quaternion neural networks". I waited for this kind of visualization for year now, i even though of building my own software ... Thanks you so much !

    • @mathephilia
      @mathephilia 5 років тому

      Si tu connais pas l'algèbre géométrique frérot: tu vas revoir ta thèse en entier je pense. xd On peut en discuter si tu veux, perso je taffe sur un raytracer non-euclidien fractale avec ça. Chaque sous-espace 2D d'une algèbre géométrique est un plan complexe en natif; chaque sous-espace 4D un truc isomorphe aux quaternions, mais sans quelques-une des pathologies habituelles (notamment les versors qui généralisent les rotors). Après t'as le "geometric calculus" (analyse mutlivectorielle) qui peut te permettre d'aller encore plus loin. Le "fundamental theorem of geometric calculus" permet de retrouver tous les théorèmes intégraux de la physiqye moderne (Stokes, Green) en qqs lignes de preuve. Tu vas kiffer !
      www.geometricalgebra.net/

    • @titouanparcollet5115
      @titouanparcollet5115 5 років тому +1

      @@mathephilia "Si tu connais pas l'algèbre géométrique" -> est-ce ce que j'ai dis ? Je l'ai juste remercié d'avoir fourni un outil de visualisation qui sera très pratique pour des démonstrations lors de conférences, ou pour de simples discussions entre chercheurs. Donc non, je ne pense pas avoir besoin de revoir ma thèse. Merci quand même pour les infos.

    • @mathephilia
      @mathephilia 5 років тому +1

      @@titouanparcollet5115 C'était bien sûr une exagération dans l'objectif de faire rire: mais ce fut un échec cuisant. xd Aucune condescendance ou mépris n'était sous-entendu dans mon message, tkt. ^^ Mon message en plus clair: au vu des retombées positives de l'algèbre géométrique dans mon propre travail (alors que je me servais des quaternions auparavant), et sachant à quel point peu de gens connaissent ce formalisme, surtout en France et dans le monde francophone, je me suis dit qu'il pourrait t'intéresser dans ton propre travail. J'aimerais personnellement utiliser cet outil pour rendre les espaces statistiques massifs plus facilement compréhensibles, mais ça va demander plus de recherche de ma part, et ce sur plusieurs années. Good luck en tout cas pour la thèse, la soutenance et la suite ! :)

    • @titouanparcollet5115
      @titouanparcollet5115 5 років тому

      @@mathephilia L'approche était peut être un peu trop agressive pour l'humour ;). Je jetterai un oeil à ce dont tu as parlé.

    • @mathephilia
      @mathephilia 5 років тому +1

      @@titouanparcollet5115 Le ton passe toujours mal à l'écrit, snuf. :'(
      Je pense que tu vas apprécier, en tout sérieux: c'est très beau. :) Oh, et j'y pense, si t'as la flemme de te farcir le bouquin de 600 pages pour les informaticiens, t'as aussi cette chaîne UA-cam qui te fait une intro courte du coeur du formalisme et des enjeux liés à celui-ci : ua-cam.com/channels/ymE67THrWoeTABxzJm1wdg.html (commence par geometric algebra, puis geometric calculus, c'est en gros 5/6 vidéos de 10 minutes pour chaque sujet)

  • @wiks470
    @wiks470 5 років тому

    Waited too long for it but it's so much worth it. Great job by Ben to develop easy to use and intuitive web app to explore this. Thank you, Grant for your amazing efforts

  • @hanniffydinn6019
    @hanniffydinn6019 5 років тому +1

    Brilliant is bringing on a whole new wave of interactive learning, it's great.

  • @kobby2g8
    @kobby2g8 5 років тому +1

    Literally searched for this topic less than a week ago. Thanks for posting!

  • @iamsecrets
    @iamsecrets Рік тому

    my thesis will be using quaternions. Thanks for these videos and the website. Very helpful. I went from no understanding to a decent grasp of the concepts in no time at all.

  • @tomascanevaro4292
    @tomascanevaro4292 5 років тому

    You are the best science youtube channel, and that's saying a lot since there's LOTS of great science channels right now :)

  • @ThePharphis
    @ThePharphis 5 років тому

    I binged Ben Eater's videos back in April/May. REALLY worth viewing

  • @fr3ddyfr3sh
    @fr3ddyfr3sh 2 роки тому

    Grant and Ben Eater are unbelievable smart, talented and generous 🥰
    Thanks a ton for sharing your knowledge in such an exceptional high quality and easy way in the public.
    So that mortals can understand it partially too 😀

  • @andresousa5302
    @andresousa5302 5 років тому

    Clearly the best youtube channel that there is. Your videos r just amazing. If you had infinite amount of videos I would starve because I cant stop watching them lol. Keep up the good work!

  • @alexanderzheligovsky1439
    @alexanderzheligovsky1439 5 років тому

    The interactive video thing is absolutely fantastic. Beautifully intuitive.

  • @eraser400
    @eraser400 4 роки тому +24

    0:52 "19th century versions of Wolverine and old man from Home Alone" LMFAO

  • @Majoen1998
    @Majoen1998 5 років тому +95

    It would be great if you covered geometric algebra, which contains both quternions and regular vactor algebra. It seems like the most natural way to encode physics, at least for me.

    • @haniyasu8236
      @haniyasu8236 5 років тому +9

      YES! GEOMETRIC ALGEBRA IS THE BEST THING

    • @abhimanyupallavisudhir6007
      @abhimanyupallavisudhir6007 5 років тому +2

      It's not. Most of the standard "geometric algebra simplifies physics" claims are just nonsense.

    • @haniyasu8236
      @haniyasu8236 5 років тому +14

      Well, no, physics almost never concerns itself with specific orientations and so almost never needs quaternions specifically (just like it basically never uses rotation matrices), but when putting the ideas of physics into a computer, they *do* become important and very much help tremendously (just like they do in animation)
      Furthermore, there are a fair bit of quantities that make a *significant* amount more sense if you think of them using Geometric algebra instead of classic vector algebra. For instance, angular velocity and momentum both are usually done as single numbers when in 2D but somehow magically become vectors in 3D, and while usually not relevant, this system has no good way of being extended into 4 or higher dimensions. However, if you instead think of them as quantities in a _planar_ direction and represent them as Bivectors, it all makes so much more sense. Angular momentum is a "scalar" in 2D, because there is _only_ planar direction, and so all angular momentums must be scalar multiples of that one plane; and it's a "vector" in 3D because every plane (and thus bivector) can be represented as its normal vector. In fact, this even makes angular momentum in 4D make sense (once you look at the math) and even explains some of the really weird results there (like how you can have two completely independent rotations happening at the same time).

    • @abhimanyupallavisudhir6007
      @abhimanyupallavisudhir6007 5 років тому +12

      @Anvil What you're saying about bivectors is correct, but the formalism of *geometric algebra* in particular is not the best way to understand them -- the right formalism is tensor algebra (which is indeed exactly how you represent rotational things like angular momentum and cross products in real physics), where "bivectors" are just antisymmetric rank-2 tensors.
      As for two independent rotations happening at the same time, I don't think anybody regards that as particularly weird and unintuitive. You have four dimensions, each rotation only affects two of them. Of course you can do two at once -- it's just like how you can do two scalings at once in R2, for instance.

    • @haniyasu8236
      @haniyasu8236 5 років тому +12

      @Abhimanyu Pallavi Sudhir
      Yes, I am aware that geometric algebra (or rather Clifford algebra) is just a tensor algebra where the square of a vector is a particular quadratic form.
      Additionally, I'd definitely agree with you that Geometric algebra is not the end all be all of math and physics. Hell, it can't even do general linear transformations. However, as a formalism, I really don't think it's much of a stretch to say that it makes some things more sense than the default 3D + cross product system, and honestly, it's way more intuitive than tensors. But of course, while I have found in my experience that GA makes things way simpler, there will always be things like moment of inertia that like to defy simplification.
      (Furthermore, full disclosure, I am definitely not a physicist. I tend to work with physics simulations in particular way more than doing theoretical and high level physics, so it very much may be that in your use case, tensors work significantly better)
      Also, yes, in hindsight the two rotations at once makes perfect sense, but it's one of those things that is surprising to someone who hasn't seen it before and has only worked with 2D and 3D using only the cross product and very little abstract formalism.

  • @eccentricOrange
    @eccentricOrange 5 років тому +2

    Wait for a video, build suspense, be disappointed that it's short, then get a sweet surprise: it's not just a UA-cam video.
    It's an amazing feat of 3Blue1Ben.

  • @oussamabouaiss7928
    @oussamabouaiss7928 3 роки тому

    Really, the Simplest way ever to explain quaternion, I really enjoy how did u grasp the ideas and how did you simplify it, ♥

  • @otso648
    @otso648 5 років тому +7

    This is amazing. You should start platform for this kind of stuff. (educational interactive "videos")

  • @Myrtone
    @Myrtone 7 місяців тому

    Regarding 3:15, the distance between 4, in other words (4|0) and (4|1), the latter being equal to 4+i, is 1. The distance, in a quaternion context, between (0|0) and (4|0) can be defined as 16. In that case, the distance between (0|0) and (4|1) is exactly 5. You can then forget there is any number which times itself is equal to 5.

  • @LazyDorman
    @LazyDorman 5 років тому

    I just can't thank you how much it helped me to understand this topic

  • @davidaladro6898
    @davidaladro6898 4 роки тому

    This is one of the best things that has ever happened on the internet, at least talking about math. Thank you!

  • @mazenelgabalawy3966
    @mazenelgabalawy3966 5 років тому

    wow, that interactive thing is amazing. It's definitely worth the wait thanks Grant your awesome.

  • @user-wq5rq7hy3p
    @user-wq5rq7hy3p 3 місяці тому

    What a great idea to make an even more intuitive way to understand complex things like quaternions! I have an exam on robotics and this was all very abstract for me. You're interactive video's really helped me get this topic on a whole new level. Thanks al lot!!
    Ps I'm always a big fan of you're video's to really understand the meaning of complex mathematics!

  • @GTGTRIK
    @GTGTRIK 5 років тому +4

    You know, with how awesome your explanations are, I am beginning to feel that one of the biggest difficulties to learning math isn't complex ideas but just the fact that mathematicians suck at writing things down :p
    Which is to say, there is so much ambiguity and gotcha moments in notations that it just looks like black magic even if you understand the algorythm separately.

  • @valerionappi7839
    @valerionappi7839 5 років тому

    You guys made something incredible with these interactive videos

  • @roddinthemighty
    @roddinthemighty 3 роки тому

    really loved this and it helped immensely, thank you very much for creating these fantastic learning resources

  • @JustPlainRob
    @JustPlainRob 2 роки тому +1

    That explorable video stuff is amazing. I can't imagine the amount of time Ben put into that. Also the little Pi Guy's eyes follow your mouse and if you put the mouse over his eye, he frowns.

  • @justtoleavecomments3755
    @justtoleavecomments3755 2 роки тому +1

    That website is incredible, you guys deserve more media attention

  • @lauocsap
    @lauocsap 5 років тому +2

    Never seen something like that ! really impressive, congratulations ! You should teach teachers to create similar learning tools.

  • @alhasibsifat6903
    @alhasibsifat6903 Рік тому

    I will exam on Analytical Mechanics tomorrow and getting stuck to make sense of the orientation of rigid body with quaternions! Thank you so much for the video! Really very helpful!

  • @allurbase
    @allurbase 5 років тому

    Love how you mix coding and visualization, keep it on.

  • @NegInfinity
    @NegInfinity 10 місяців тому

    I've found this video by accident, and I've found your site with interactive demos through it. I think I finally got it. Because quaternion rotates around two 4-dimensional circles, and you only need rotation of one, you use two of them to cancel rotation of the second circle.

  • @spencertaylor6910
    @spencertaylor6910 5 років тому +4

    Awesome video! You should do something on differential forms and the generalized stokes theorem

  • @1fareast14
    @1fareast14 5 років тому

    Unrelated, but your 3d visualizations have gotten better! rewatched the essence of linear algebra series, and the 3d there was stuttery and had unsightly arrows. Very happy to see a creator self-improve

  • @balajisriram6363
    @balajisriram6363 5 років тому

    I was just waiting for one more of your amazing videos!!! thanks so much 3B1B

  • @glenmartin2437
    @glenmartin2437 2 роки тому

    Thank you.
    I first learned of quaternions in studying Maxwell's electromagnetic equations as modified by Oliver Heaviside and others.
    This in the last month or so.
    Before that, I had no knowledge of quaternion math. I talked with my granddaughter who is a mathematician and she had not heard of them.
    Please keep at publicizing quaternions.
    Again, thank you.

  • @MrSomethingdark
    @MrSomethingdark Рік тому

    Apart from the explanation, I adore the "Normandy Bridge map" music you use.

  • @darshangupta3804
    @darshangupta3804 5 років тому +70

    You are a living legend

  • @Adeith
    @Adeith 5 років тому

    Im in awe of how intuitive this is

  • @ThatCrazyKid0007
    @ThatCrazyKid0007 5 років тому +1

    that interactive video thing is fucking nuts, I'm in awe

  • @danielkramer4121
    @danielkramer4121 4 роки тому

    I appreciate the video, I'm currently exploring unity game development to practice more C#. Quaternions have come up several times, this video helped clear up what they are exactly. Thanks!

  • @user-kh1mp2yw9c
    @user-kh1mp2yw9c 2 роки тому

    Huge Thanks for all the work You do! Very good explanation!

  • @analemma.inflection
    @analemma.inflection 5 років тому

    Grant, you never fail to amaze me. Thank you.

  • @BradleyZS
    @BradleyZS 8 місяців тому

    After trying to program 3D rotation and struggling with gimbal lock while not knowing what they is, I'm glad to finally hear of quaternions.

  • @elmar64
    @elmar64 5 днів тому

    Amazing video to explain the usage of quaternions for rotating objects. Some useful notes I made: Quaternion 3D points look exactly like 3D Vectors in 4D homogenous coordinates. Multiplication order matters. It needs to be from left to right for a mathematically positive angle rotation. For those, who did not see it already, the quaternion multiplication computes a vector cross product + negative scalar product + linear combination between the two vectors. The scalar product is stored in a 4th dimension (the real scalar axis). The 2nd multiplication is required to get rid of the value in the 4th dimension after the first multiplication and both multiplications make two half rotations together.
    I think. the title can be misleading. I thought of a mathematical explanation what Quaternions are designed to be. But I still don't understand it properly, even when I understand complex numbers. This video cannot be understood by people who just know school math. It looks like being a reference to another site but I know that site already from a Computer Graphics lecture. Good school graduates could be able to compute a point rotation without matrices or quaternions by interpolating tangential perpendicular vectors.

  • @StepBaum
    @StepBaum 5 років тому

    Learned a lot once again :)
    Easy to understand and awesome examples!

  • @kimrrb3665
    @kimrrb3665 3 роки тому

    Thanks a lot for these videos from someone who does rigging (tech animation) and doesn't really understand the math behind 3d space well enough.

  • @ottofondost9248
    @ottofondost9248 2 місяці тому

    Thank you so much! I’m a PhD student in biophysics and your videos are extremely valuable to me. Wish you best of luck and great success in all your endeavours.

  • @DeltaCalf
    @DeltaCalf 5 років тому

    Came for the quaternions, stayed to play with the pi creature in the corner. This is so delightful!

  • @heepajunk
    @heepajunk 5 років тому

    The explorable videos are incredible. What a perfect way to make it "click".

  • @roncho
    @roncho 3 роки тому

    you are the perfect combination of engineer educator and artist.

  • @dansam5467
    @dansam5467 5 років тому +2

    You're a legend. The wait was worth

  • @ogonkishi6403
    @ogonkishi6403 4 роки тому

    Wow that brings learning to a whole new level! Thanks a lot!

  • @andreagiorgione3529
    @andreagiorgione3529 5 років тому +1

    That's simply amazing: learning linear algebra and at the same time have the possibility to "touch" it...

  • @redkillerboy
    @redkillerboy 5 років тому

    Wow ! This content is amazingly easy to understand ! Thank you !

  • @sam4832
    @sam4832 5 років тому

    The website you and Eater created is awesome, it makes learning quaternions so intuitive that I'm actually starting to love the idea. Furthermore I got a triggered when 4d stereographic projection started to resemble electric fields xd.

  • @Manabender
    @Manabender 5 років тому

    Oh my God these interactibles are awesome.
    Has anyone ever told you you're a good man doing good work, 3b1b? Because you're a good man doing good work. I'm sure someone has, but now someone +1 has.

  • @carlc7500
    @carlc7500 3 роки тому +1

    Thanks so much, I’m working on a video game and now it all seems much more manageable