4D Thinking for 3D Graphics

Поділитися
Вставка
  • Опубліковано 19 гру 2024

КОМЕНТАРІ • 35

  • @whyBryan
    @whyBryan 4 місяці тому +5

    The scaling factor being a higher dimensional shear operation seems so obvious in retrospect.
    Thank you so much for the animation!

  • @Ger325is
    @Ger325is 2 роки тому +10

    Great graphics and explanation. I thought I was watching a 3 Blue 1Brown video at times. Well done!

  • @birdeye700
    @birdeye700 11 місяців тому +2

    any translation in low dimensions can be represented as a transformation in higher dimensions (n+1). Great illustration !

  • @TheRickCh
    @TheRickCh 5 місяців тому +3

    Great video!
    One off the best I've seen on the topic!

  • @angeldude101
    @angeldude101 2 роки тому +18

    It's actually possible to extend complex numbers to handle 3D rotations and translations. The 3D analog of the complex numbers are well known as the quaternions, but there also exist the dual-quaternions which are capable of describing any proper rigid transformation, ie rotation and translation. There's also an interesting way to extend these to higher dimensions as well as other types of transformations. While the components grow faster than matrices, doubling with each additional underlying dimension rather than going to the next square, they provide much smoother interpolation. I actually noticed a few times in this video where an object appeared to shrink as it was moving before ending up at the same size as it started.

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

      Indeed, and interestingly, the complex numbers are the even sub-algebra of the 2D geometric algebra and the quaternions are the even sub-algebra of the 3D geometric algebra.

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

      @@cstockman3461 Every geometric algebra is the even subalgebra of a higher geometric algebra. The dual-quaternions are the even subalgebra of 3D projective geometric algebra, and 3D vanilla geometric algebra is the even subalgebra of spacetime algebra.
      Geometrically, the PGA interpretation can apply to other algebras, in which case not only in VGA algebraically a subalgebra of PGA, but geometrically too, with a given VGA multivector representing the exact same subspace and transformation in PGA.
      Geometric algebra isn't really an algebra. It's more like a Matryoshka Doll of algebras. Even the basic Real numbers can be considered the even subalgebra of the complex numbers. Geometric algebras all the way down... And going all the way _up_ eventually brings you to the mythical Universal Geometric Algebra (UGA) aka Cl(∞,∞)

  • @OpenSourceCS
    @OpenSourceCS 2 роки тому +8

    Super cool video, really helpful to build intuition.

  • @monkeyrobotsinc.9875
    @monkeyrobotsinc.9875 10 місяців тому +4

    when a student tries to become a teacher. thats you and this video. NICE

  • @lordforlorn5694
    @lordforlorn5694 5 місяців тому

    So cool! It's definitely going to be helpful for me

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

    Great video! I didn't knew homogeneous coordinates intuitively. ! Nice visuals

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

    Great video

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

    Linear algebra is still a very new concept for me but this video was very nifty! Awesome work :)

  • @siliakas
    @siliakas 5 місяців тому

    awesome job!

  • @ruangtamu2659
    @ruangtamu2659 9 місяців тому

    excellent explanations

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

    Wow😲. So helpful to me. Thanks a lot.

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

    Great explanation, thanks a lot!!!

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

    this is exactly what i wanted!!

  • @cyanisnicelol
    @cyanisnicelol 2 роки тому +4

    Now make a 4D game using 5D matrices (5x5 matrices)

  • @kmg3658
    @kmg3658 11 місяців тому

    Thank you!

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

    Really nice

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

    Very cool. Now, it is just a small step to quaternions😀. By the way, since there was a short blender clip inside the video, I just wanted to mention that I'm working on a library that realizes much of the manim tools inside blender. If you are interested, let me know.

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

    excellent

  • @tedsheridan8725
    @tedsheridan8725 9 місяців тому

    It is possible to visualize 4D geometry, and even to show it graphically and animate it.

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

    so everyone knows, nowdays is common to hear that matrices do transformations, which is misleading
    what is actually happening is that in algebra, there is a concept called linear transformations that are just equations with some constraints
    this equations end up as a system of equations with each equation having a series of products between constants and variables, such as:
    a*x + b*y = k
    c*x + d*y = h
    and all linear transformations have a matrix representation, which, in this case, is:
    | a b | | x | | k |
    | c d | * | y | = | h |
    so the matrix abcd represents a specific linear transformation over some coordinates xy
    this transformation can be whatever you want, but if you want specific properties for this transformations, you can specify it in the original equations, figure them out and then the matrix comes in free

  • @ArnaudMEURET
    @ArnaudMEURET Місяць тому

    If you wonder why your viewing stats tell you that you lose people around 3:20, it’s because you start using the expression “i-hat” etc. without any prior definition. Especially for foreign viewers, this “hat” qualifier sounds weird and childish. Yes I know it stems from the caret notation being read as 🎩. Vector i is the proper way to say. To add to the confusion, you failed to label the î. Being a good teacher is mostly about not forgetting the time you were like your students (and weren’t comfortable with all the conventions)

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

    great video! at 6:32 please use 'dots' instead of 'x' for matrix multiplication :)

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

      why is that

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

      @@bbrother92 X implies the cross product which is a different type of multiplication

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

      @@matthewjames7513 im p sure cross product is only defined for vectors