I built a 4D Engine in Desmos

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 48

  • @Epic_Ducks1
    @Epic_Ducks1 19 днів тому +80

    When should we tell him 3D Desmos already exists and it could be slightly easier?

    • @lih3391
      @lih3391 18 днів тому +14

      You only get like 2 views in the 3d graph though, if you use 2d and make your own projections, you can make very wacky things

    • @Epic_Ducks1
      @Epic_Ducks1 18 днів тому +4

      @ Fair enough and point, I respect your point.

    • @TheRogueVigilante
      @TheRogueVigilante 14 днів тому +4

      Shhh, its a canon event

    • @benjamineppler3770
      @benjamineppler3770 6 днів тому

      He brain built incorrectly

    • @tdubmorris
      @tdubmorris 10 годин тому

      I actually already made 4d desmos myself using 4d rotation matrixes and I saw someone on Reddit make 5d desmos once

  • @AlienXtream1
    @AlienXtream1 16 днів тому +29

    as others have mentioned, this is a 3D (perspective) projection of a 4D object. a slice would be just a cube (at least in the case of an axis aligned cube. it gets a but trippy when rotations are introduced)

    • @vindi167
      @vindi167 8 днів тому +1

      yeah i didn't really like it when he said that wrong thing, because now many clueless people will believe it

    • @angeldude101
      @angeldude101 6 днів тому

      It's a 2D perspective projection of a 3D perspective projection of a 4D object.

    • @AlienXtream1
      @AlienXtream1 6 днів тому

      @@angeldude101 with which the brain then tries to recreate the 3D projection in order to try and intuit the true 4D object. and it's all done using a salt powered lump of jelly :P

    • @mr.pumpkinn
      @mr.pumpkinn 2 дні тому

      Yeah I'm triggered by this too

  • @nerdboy628
    @nerdboy628 19 днів тому +21

    The dark mode desmos was from the Reverse Contrast setting in case anyone is wondering

  • @marcberm
    @marcberm 19 днів тому +15

    The cheery "don't forget to piss right off" really got me this time. 😀

  • @VolumetricTerrain-hz7civ
    @VolumetricTerrain-hz7civ 8 днів тому +3

    It is absolutely correct that we can see cross sections of a 4D object.
    But what we all forget, even myself, is that even a photography or an image can be a cross section
    (projection into the surface).
    Take for example the tree at 0:14 in the video,
    which is not a cross section of a 3D object, but an image of the whole object.
    The same also applies to the rotating cube, which the 2D guy sees.
    On the other hand, if the tree or cube had not been an image, but a 3D object,
    then he would have seen cross sections of the cube or tree.
    Good video anyway!
    You are a great teacher!

    • @98danielray
      @98danielray 5 днів тому

      what you would be seeing is the tree surface embedded in 3d space. if we are assuming some kind of euclidean space, it has to be a planar section

  • @AlexandHuman
    @AlexandHuman 16 днів тому +4

    I understand this, but I'm still sitting here like "Any sufficiently advanced science is indistinguishable from magic"

  • @SimonsAstronomy
    @SimonsAstronomy 16 днів тому +5

    Nice job of 4D in 2D

  • @YourFriendlyNeighbour-b8r
    @YourFriendlyNeighbour-b8r 17 днів тому +9

    I would consider myself decent at math, but this just feels so odd to wrap my head around. I find that quite interesting since I have a "fine" time understanding both the logic and abstract math of things like DEs both PDEs and ODEs, or even complex analysis :)

  • @PuffyNutty
    @PuffyNutty 15 днів тому +12

    0:44 this is not the cross section of a hypercube. That would look just like a regular solid cube to us.
    If I asked you to quickly draw a 3d cube on a piece of paper, you would simply outline the cube by drawing its 1d edges. Now imagine your perspective changed so you are directly facing the front of the cube. No other faces would be visible, and it would look like this:
    _______
    | |
    | |
    |______|
    All you see is a square (the cube’s front face) as none of the other faces are visible from your perspective. The edges comprising those other faces are behind this front face. If you were to make the front face completely transparent, you would see the edges behind it, and it would look like this:
    _______
    | \ _ / |
    | |_| |
    | /___\ |
    You can now see another smaller square inside a larger square, connected to the larger square’s corners. This is the cube shown in the video, just in 2 dimensions. It is the shadow of a 3d cube’s edges being directly projected onto a 2d plane.
    If it were the shadow of a 4d cube’s edges being directly projected onto a 3d plane, you get the shape seen in the video.

  • @qondonyon
    @qondonyon 18 днів тому +10

    very nice!!
    there's slightly wrong imformation though,
    that's actually the shadow of the tesseract and not the cross sectiono!!

    • @PuffyNutty
      @PuffyNutty 15 днів тому +2

      Yes. That part of the video caught me off guard.

    • @chielvandenberg8190
      @chielvandenberg8190 2 дні тому +1

      If you want to get REALLY nerdy it’s actually the 3d shadow of the hyper cube with one of its ‘w’ sides removed because including that side would overlap all other sides and making it look like a cross section (a cube). (remember, there are two ‘w’ sides just like there are 2 x y and z sides on a cube)

  • @Bard_Gaming
    @Bard_Gaming 16 днів тому +3

    I always despise these kinds of videos. Not because I find them uninteresting or stupid, but because I hate the idea of never being able to fully visualize a 4D object. Every time I'm reminded of that, I feel frustrated...

  • @YahyaKhashaba
    @YahyaKhashaba 18 днів тому +3

    This seems like the projection of the 4d onto 3d then onto 2d, not a slice of 4d in 3d then projected onto 2d.

  • @centarian2559
    @centarian2559 15 днів тому +2

    Sir, I think you're confusing cross sections with projections. What you were calling cross sections of 4D or 3D objects were actually 3D or 2D projections of 4D and 3D objects. A cross section would be if I cut out a 2D slice out of a 3D cube. Projections are flattening a 3D cube until it fits into a 2D space. They are not the same thing.
    Example: An image of a cube is a 2D projection of the 3D object. A slice of that cube is a 2D cross section of a 3D object.

  • @AlexandHuman
    @AlexandHuman 16 днів тому +2

    I am not too familiar with the mathematics of this, but is there a generalized method of turning polygons into their 4th dimensional counterpart? What about any continuous shape?

    • @TheUnqualifiedTutor
      @TheUnqualifiedTutor  16 днів тому +3

      I'm not sure about a generalised mathod (hehe get it, math method) but I just used basic reasoning for the cuboid -> hypercube thing. I imagine someone out there has found one but I'm not aware of it.

    • @vindi167
      @vindi167 8 днів тому

      that's like saying "how do you turn any 2d shape into a 3d one". think about that.
      to make a cube, you extrude a square along the 3rd dimension.
      to make a cylinder, you rotate a rectangle around a line on the 2d plane.
      to make a pyramid, you take the shape you want and extrude it, but shrink it to a point gradually while you extrude.
      extrude (extend along a direction)
      rotate (self-explanatory)
      resize (make bigger or smaller, usually combined with others)
      move (in case you want the shape elsewhere too but not extruding along that movement)
      and more, or for some shapes, just use a mathematical function since it would be more complicated to make them from these operations.
      the 2d to 3d to 4d analogy works here.

  • @marble17
    @marble17 19 днів тому +2

    Ok you beat me on this race
    Prob Speedrun this if I have the time to memorize

  • @Uni_974
    @Uni_974 13 днів тому +2

    4D nikocado avocado when?

  • @TheLucaz37
    @TheLucaz37 12 днів тому +1

    If you can display 3d on a 2d screen, cant you display 4d on a 3d world?

    • @tdubmorris
      @tdubmorris 9 годин тому

      Yep and that's exactly what this video is doing, except it's doing 2 projections (4d -> 3d -> 2d)
      In fact, if you had special eyes that could see a full volume of space at once (insides and all) you would be able to make out 4d space just as well as you can make out 3d space now

  • @s1nd3rr0z3
    @s1nd3rr0z3 16 днів тому

    Have you watched hypercubist math's 2 videos on visualizing the 4th dimension? They're great and I'm eagerly awaiting the third video.

  • @Vengemann
    @Vengemann 18 днів тому +1

    Was looking for 3d in 2d desmos and got 4d😭
    you have any old videos on tutorials on how to make 3d movements in 2d desmos and stuff?😓😅😅

    • @lih3391
      @lih3391 18 днів тому +1

      He mentioned it in the video, yes

    • @znowu_a
      @znowu_a 2 години тому

      i recently seen a video where a guy made minecraft in desmos, check that out im pretty sure he made 3d movements in desmos. something with matrices i cant remember

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

    You called it a cross section, but you showed a projection. 2 very different things

  • @trevorallen3212
    @trevorallen3212 6 днів тому

    Just use calculus mentally piece by piece by parts in previous dimension or this case your current dimension in 3D then you can visualize higher dimensions better.

  • @olDox222
    @olDox222 15 днів тому

    avocado broke me lmao

  • @Mohamed2025-x7y
    @Mohamed2025-x7y 12 днів тому

    I always wonder if there 4D

  • @Engine_Ear_129
    @Engine_Ear_129 15 днів тому

    2:45
    speech.exe is not responding

  • @NguyenMinhPhu664
    @NguyenMinhPhu664 10 днів тому

    This is not a crosssection! It's a projection, a crosssection is a 0 unit thin slice out of a shape!

  • @verizonextron
    @verizonextron 3 дні тому

    make 4D doom

  • @Christianbatman
    @Christianbatman 17 днів тому +2

    hey like my comment too