3d Graphing in a 2d Calculator (Desmos)

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • I need a pop filter
    Graph: www.desmos.com...
    Music: • Video
    #Desmos #DesmosGraphingCalculator

Комментарии • 564

  • @thedankgoat7972
    @thedankgoat7972 3 года назад +8251

    This is the kinda thing that would make an ancient Greek mathematician decompose on the spot

    • @shmillsyshmillsy6624
      @shmillsyshmillsy6624 2 года назад +517

      Ancient Greek mathematician here, this made me cream my jorts

    • @darthidiot7563
      @darthidiot7563 2 года назад +160

      @@o.s.h.4613 fun fact: Pythagoras actually came up with the idea of calculus before Newton, but his works were destroyed by some priest guy
      Source: Vsauce

    • @vakseen2618
      @vakseen2618 2 года назад +10

      decompose

    • @SirToastyToes
      @SirToastyToes 2 года назад +16

      And, you know, being many times older than a single human lifetime

    • @jobesnow4437
      @jobesnow4437 2 года назад +3

      Lol

  • @mihl6694
    @mihl6694 3 года назад +4333

    You're appealing to a really niche audience with this video, but this is one of the most impressive things ive seen in a while

    • @realzener1918
      @realzener1918 2 года назад +38

      i have no clue wtf is happing just cool and jojo

    • @SpiteAnims
      @SpiteAnims 2 года назад +14

      You'd be surprised how many people who go onto RUclips just to see cool shit

    • @good1742
      @good1742 2 года назад +17

      Niche? Bro I have straight D's but this is cool

    • @haydenthai935
      @haydenthai935 2 года назад +10

      Niche? Bro I have straight F’s but this is cool

    • @somerand0mpers0n
      @somerand0mpers0n 2 года назад +6

      Niche? Bro I'm in possession of a firearm but this is cool

  • @rishi4997
    @rishi4997 3 года назад +4209

    "I have no idea what im doingand i haven't the slightest clue how 3d graphics work"
    **Proceeds to explain orthographic and perspective views**

    • @thomasdebock1948
      @thomasdebock1948 2 года назад +127

      That's simple as hell tho

    • @thomasdebock1948
      @thomasdebock1948 2 года назад +158

      @@potatoman7945 bruh it's literally just if there's perspective or not, in perspective (what we see) things that are closer appear larger, in orthographic this isnt the case. The image makes it pretty clear dude

    • @foxmccloudizsexy
      @foxmccloudizsexy 2 года назад +9

      Othographic project a prefectly perpendicular view going into the plane, farther parts or feature will appear to have the same size as closer object. Perspective view will show farther object be smaller which simulates what we see with our eye.

    • @cherryclorox7717
      @cherryclorox7717 2 года назад +6

      Orthographic and perspective are 2d views so he’s not wrong

    • @jbritain
      @jbritain 2 года назад +19

      @@potatoman7945
      Orthographic: stuff further away doesn't get smaller
      Perspective: stuff further away gets smaller
      I also have no idea how 3d graphics work

  • @rawrtedthanos
    @rawrtedthanos 2 года назад +1610

    He sounds so depressed and done, just like all great mathematicians, hell yeah. Wait, do computer scientists count as mathematicians? Cause if so that's going to increase the depressed/done v energized/crazy ratio

    • @D00000T
      @D00000T 2 года назад +42

      Yes they do. The depression of having to constantly change something and recompile your code is on par with mathematician depression. Only one that’s a bit higher than both is physicist depression since their work is not only existing on some sheet of paper or screen

    • @whong09
      @whong09 2 года назад +18

      We're not mathematicians we just bang shit together until it works.

    • @thedugdugman45
      @thedugdugman45 2 года назад

      Why not major on both in college ?

    • @torque8047
      @torque8047 2 года назад +6

      They sacrificed their sanity for 2 transistor

    • @deanmcmichael8843
      @deanmcmichael8843 2 года назад +2

      @@whong09 That's what mathematicians do tho

  • @sushant2664
    @sushant2664 2 года назад +371

    I once tried making a simulation of the solar system in desmos and thought that was crazy. Boy, was I wrong.

  • @THESKILLZZ9
    @THESKILLZZ9 3 года назад +245

    When I thought adding a slider made me pro in desmos...

    • @asheep7797
      @asheep7797 2 года назад +1

      @Insert Name Here Tetris reference or am i not cultured?
      (probably the 2nd one actually)

  • @StannyObelisk
    @StannyObelisk 2 года назад +107

    I'm out here still struggling to draw a cube with OpenGL and this dude is out here doing it in a GRAPHING CALCULATOR.

    • @wasabithumbs6294
      @wasabithumbs6294 Год назад +5

      To be fair I think it's genuinely harder to do in OpenGL, I also made a 3D renderer in Desmos but instead of the polar coordinate bodge I went with the more classical vector & quaternion math route that would be familiar to programmers that ever worked with 3D graphics; and even though it's heavy on the math I don't have to deal with weird memory allocation stuff

    • @JacobIX99
      @JacobIX99 Год назад +2

      I mean.. it's considerably easier in graphing calculator dude

    • @vappyreon1176
      @vappyreon1176 Год назад +1

      ​@@JacobIX99 yeah that's their like purpose lol

  • @morganschoff7302
    @morganschoff7302 2 года назад +775

    I. Are people legitimately just coding using straight-up math??? This is insane. I hate this. I love this. I want to marry this then have it go missing under mysterious circumstances and when the police come to question me, I wear a fluffy pink robe and obliquely dodge their accusations. I'm immediately subscribing to you.

    • @meihem2809
      @meihem2809 2 года назад +53

      i love the comment but isn't all coding heavily dependent on straight-up math

    • @wheeI
      @wheeI 2 года назад +27

      @@catinwall4256 yes?

    • @cachemist4149
      @cachemist4149 2 года назад +15

      functional programming: allow me to introduce myself

    • @wheeI
      @wheeI 2 года назад +26

      @@catinwall4256 machine code (what all code is translated into):
      adding numbers
      adding negatives to numbers
      adding numbers a lot of times
      comparing numbers

    • @nmay231
      @nmay231 2 года назад +14

      @@wheeI Is all of life quantum mechanics? Just because something is based on something else, it doesn't mean that's all it is. Unless you are a [insert category of philosophy here].

  • @Wolf-yp2qk
    @Wolf-yp2qk 2 года назад +59

    "I have no idea what I'm doing" *Immediately cuts to cylindrical coordinates*

  • @EVRLYNMedia
    @EVRLYNMedia 2 года назад +273

    sooner of later this guy is gonna make a ray tracing rendering engine in desmos

    • @mshuman
      @mshuman 2 года назад +21

      It’s possible! Demos has custom colors with rgb and hsv functions now! You just need to calculate the normals of each face and adjust the value based on how much light would hit it. (Not ray tracing, but at least similar lighting data)

    • @EVRLYNMedia
      @EVRLYNMedia 2 года назад +3

      @@mshuman wow lol

    • @joda7697
      @joda7697 2 года назад +2

      @@mshuman well, where's the desmos engine link? /j

    • @shadowshibe5962
      @shadowshibe5962 Год назад

      My friend figured out how to

    • @EVRLYNMedia
      @EVRLYNMedia Год назад +1

      @@shadowshibe5962 woah

  • @IMayHaveNukes
    @IMayHaveNukes 3 года назад +616

    This guy talks like a text to speech program.

    • @emaaaaax
      @emaaaaax 2 года назад +14

      I legit thought he was using one until I read the comments lol

    • @aliciavivi2147
      @aliciavivi2147 2 года назад +1

      Wait is he not?

  • @ivansesaldo1676
    @ivansesaldo1676 2 года назад +8

    Every youtuber who does stuff ever:
    "i will do this stuff that I really have no idea about"
    *proceeds to create it beyond expert levels*

  • @mycotina6438
    @mycotina6438 2 года назад +71

    "I'm depressed, tired and bored. So let's get drunk and re-invent math"
    -John 2020

  • @ohmygoodsnes9879
    @ohmygoodsnes9879 4 года назад +90

    Noice. I really feel like you should have more subs.

  • @thedankgoat7972
    @thedankgoat7972 3 года назад +35

    this actually makes me want to learn math

  • @TheRealZeaga
    @TheRealZeaga 3 года назад +92

    Really well-done! Your personality and editing were great. One thing I'm surprised nobody mentioned is the lack of a pop filter

  • @mantacid1221
    @mantacid1221 3 года назад +529

    Hi, i was messing around with this, and decided to make a 3d render of a Bézier curve in 3d space. To do so, i would need to make a function to convert from Cartesian to polar. Any idea how i could express the h value in terms of x, y, and z?

    • @mantacid1221
      @mantacid1221 3 года назад +131

      Nevermind i got it to work.

    • @shadmanshafin5307
      @shadmanshafin5307 2 года назад +66

      @@mantacid1221 Congrats

    • @platos1336
      @platos1336 2 года назад +8

      @@mantacid1221 nice

    • @Ikxi
      @Ikxi 2 года назад +35

      dafuck you doing bezier curves??
      how tf would you even achieve that
      please don't answer, I don't want my brain to explode from math

    • @jacobhebbel6448
      @jacobhebbel6448 2 года назад +19

      Hi! High school precalc student here; would you mind explaining this? I love learning about this sorts stuff and it would really make my day if you could show the equations and math/logic you used to make the render

  • @TheDartFrog
    @TheDartFrog 2 года назад +15

    this video is pure gold, the editing and everything just comes together so well, good job!

  • @swisscheez8424
    @swisscheez8424 2 года назад +26

    3d graphics actually use something similar
    basically you need to take a point in 3d space (x,y,z) and turn that into 2d space(x,y) as a computer screen has no z axis
    the function is this:
    f(x,y,z)=(x/z,y/z)
    and then you can use cos and sin to add rotation.
    the rotation part is complicated but I can explain if you want.
    EDIT: I was typing this comment in a rush and forgot to explain a major point:
    the function is used to map a 3d point on to 2d space, it does not actually draw anything

    • @otesunki
      @otesunki 2 года назад

      you... yes.?
      its not "similar", its identical
      its polar vs rectangular coords

    • @swisscheez8424
      @swisscheez8424 2 года назад

      @@otesunki your probably right, and also know more about this than I do lol

    • @wasabithumbs6294
      @wasabithumbs6294 Год назад

      You can't simply divide by Z as perspective does not work linearly, if you think about how a camera works in real life it's about where the light ray intersects with the sensor of the camera and that gets converted into X/Y coordinates by the sensor; for a virtual camera we can imagine a line from the vertex we want to project onto the screen to the origin of the camera and see where it intersects with it's "near clipping plane", something similar to a sensor. Getting the intersection point requires trigonometry
      It's fine to divide by Z if all you want is an approximation of 3D such as parallax backgrounds in 2D games, however if you try to render a 3D scene and a moving camera with this method it's going to look very weird

    • @kylebowles9820
      @kylebowles9820 Год назад

      ​@@wasabithumbs6294 no it doesn't require trig to project and intersection with planes and lines. It only takes one divide. In 3D graphics we use homogenous coordinates (x, y, z, 1) and the equation for a projection matrix which is 4x4. You then simply divide by W (homogenous coordinate) to get to 3D Normalized Device Coordinates. 1/W is not a linear function, it's the correct nonlinear relationship you are talking about. The equation for a ray plane intersection is
      t = dot(pn, pl - ro) / dot(pn, rd)
      No trig there either, just the divide. The trig is secretly baked into the normalized vectors taking the place of the sine and cosine, division giving access to tangents and the rest.

    • @wasabithumbs6294
      @wasabithumbs6294 Год назад

      @@kylebowles9820 been doing it wrong then :) but I see the logic

  • @kerbberbs
    @kerbberbs 2 года назад +6

    This should be a video that would have like 4 million views.

  • @aydenbales
    @aydenbales 3 года назад +58

    This is beautiful. Keep up the good work

  • @skedlmennneddennedneneemd9249
    @skedlmennneddennedneneemd9249 3 года назад +7

    Here before this blows up, but I know it will because of the how cool this is.

  • @Jim-be8sj
    @Jim-be8sj 2 года назад +12

    Very cool. Desmos is an amazing tool. I am always surprised by the capabilities.

  • @rasmysamy2145
    @rasmysamy2145 2 года назад +1

    My man really just programmed a rasterizer projection matrix in desmos but slightly shittier and in cylindrical coordinates. I'm very impressed, nice job

  • @DaVince21
    @DaVince21 2 года назад

    The dry voice is offset against the wild music and the dry explanation is offset against the wild ideas and visuals. This video is perfect.

  • @blue_leader_5756
    @blue_leader_5756 2 года назад +3

    Honestly the shaky camera at the end kinda helps to sell the impressiveness. Very cool!

  • @thearmoredpanda6669
    @thearmoredpanda6669 2 года назад +4

    I tried making one of these myself on my own time, and it hurt me to see you breeze through problems I struggled with for multiple hours, but it was also really enjoyable when I saw you come to the same solutions as I did, but the thing with rotation along the y axis hurt, because I had not gotten past the circles getting bigger and you easily breezing through it hurt

  • @yoavmal
    @yoavmal 4 месяца назад +1

    After so long, desmos actually created a 3D grapher with... orthographic and perspective projections the exact same as the video

  • @neillcoetzer9133
    @neillcoetzer9133 2 года назад +3

    God bless desmos. Honestly so good. Been using it for analyzing lab results for my studies, lmao

  • @arstino
    @arstino 2 года назад +2

    this man got bored and then created a 3D engine on a graphing app just because, what a legend

  • @MsMacintosh
    @MsMacintosh 2 года назад +1

    So this is what math is used for outside of class.
    This person is an absolute madlad. This needs attention.

  • @timbomb374
    @timbomb374 2 года назад

    I wanted to do this at one point but never found the time to sit down and figure it out. Now my mind can rest easy knowing that someone figured it out.

  • @igotaphatass8335
    @igotaphatass8335 2 года назад +2

    This deserves much more attention than its already gotten

  • @garrettfuller5456
    @garrettfuller5456 2 года назад +1

    finally, youtube recommends me something i have an immediate use for.

  • @m3morizes
    @m3morizes 11 месяцев назад

    I really love the montage with the music at the end. Why can't people present and appreciate math in such an epic way like that more often?

  • @spruceg00se
    @spruceg00se 2 года назад +1

    Damn this is insane… was not expecting you to only have 5k subs!

  • @xgozulx
    @xgozulx Год назад

    third time I watched this, it is slowly becoming one of my top fav videos on the internet xD

  • @Wiebejamin
    @Wiebejamin 2 года назад

    The JoJo music ties this together in a unique but fulfilling way

  • @Prod_by_proto
    @Prod_by_proto 2 года назад +2

    This guy....
    This guy makes math cool even though I never have any idea what he's talking about

  • @draxelchang5411
    @draxelchang5411 2 года назад +5

    I’m impressed. Jaw dropping stuff. Thanks

  • @pencilwastaken8526
    @pencilwastaken8526 2 года назад +6

    This mans literally creates a 3D engine on a graphing calculator in 3 minutes

  • @prionto6148
    @prionto6148 3 месяца назад

    This is modern art at its peak

  • @imajon4122
    @imajon4122 2 года назад +1

    Math with Golden Wind. Good touch.

  • @ziggyzoggin
    @ziggyzoggin 2 года назад +2

    that was really cool how you made it with illusions like that!
    I mean normal computer 3d is an illusion but this is more illusiony

  • @smolboye1878
    @smolboye1878 2 года назад +1

    I did this but found it a lot easier to just do the frustum projection math, it's pretty easy when you frame it the right way

  • @furyzenblade3558
    @furyzenblade3558 3 года назад +4

    Haha nice job, super fun desmos graph to play with

  • @AdrianGhastly
    @AdrianGhastly 2 года назад

    As a 3D Modeler I have no clue what the hell you are doing but I am incredibly impressed

  • @SmartGamer1234
    @SmartGamer1234 2 года назад +6

    Very cool! One more thing you could do to improve it is make things behind other things not be rendered, but that would probably be insanely hard…

  • @spirk3144
    @spirk3144 2 года назад

    this guy is seriously underrated, such cool stuff

  • @miles7178
    @miles7178 2 года назад +1

    I'm bummed your videos don't have more views. They're really interesting.

  • @PuffleBuns
    @PuffleBuns 2 года назад +2

    You lost me at “3d graph from scratch” but it was still entertaining.

  • @ethanstoehr4420
    @ethanstoehr4420 2 года назад +1

    “Because it uses trig instead of lists and sums in runs fast” lmao felt

  • @PotentiallySky
    @PotentiallySky 2 года назад

    this is the most interested I've been in math since like 6th grade

  • @nwy8889
    @nwy8889 2 года назад +2

    awesome stuff! I want to get to this level of math fluency someday!

  • @sunimod1895
    @sunimod1895 2 года назад +11

    Can you do matrix multiplication in desmos? If you can you could use the perspective matrix, rotation matrix, and translation matrices to do everything for you

    • @good4usoul
      @good4usoul 2 года назад +2

      You can do X(A,B,T) = A cos(T) - B sin(T), Y(A,B,T) = A sin(T)+B cos(T)

  • @PuffDaGoat
    @PuffDaGoat 2 года назад +1

    this is a certified 3D graphing in a 2D calculator moment

  • @josephyu4480
    @josephyu4480 2 года назад +5

    "I have no idea what I'm doing"
    *Proceeds to talk in language beyond human comprehension*

  • @detectivesky6123
    @detectivesky6123 2 года назад

    BAKANA-
    This lad has done what i thought to be impossible

  • @haroldbn6816
    @haroldbn6816 2 года назад

    I love desmos, this graphic calculator help me resolved an engineering problem in real life in situ.

  • @benphillips4928
    @benphillips4928 Год назад

    tbh desmos is very well suited for 3d visualization, I have some perspective projection functions I've been using for years now to do all sorts of things like visualize vector problems and demonstrate quaternion math. 4d projection is even feasible without much performance hit, I think desmos should just make these 3d functions a part of the calculator. But a lot could be said for added features. I think I learned to code in desmos before I knew it was a coding language

  • @peeyushgautam77
    @peeyushgautam77 2 года назад

    Genuis
    This man shall be saved at any cost

  • @SachiN-Vishwakarm
    @SachiN-Vishwakarm 2 года назад +2

    loved it maan......please keep uploading videos like this

  • @xgozulx
    @xgozulx Год назад +1

    this was so epic and fun xDI loved it :D

  • @hobocraft0
    @hobocraft0 2 года назад

    The hero we never knew we needed.

  • @crimester
    @crimester 2 года назад +2

    i have no idea what you meant or how that worked
    but congrats on making some overcomplicated algorhythm to draw simple 3d objects
    i would make a simple 3d renderer by first computing the translated points and then their position based on x y z and fov

  • @zenithalizesquads4873
    @zenithalizesquads4873 2 года назад

    Can’t wait till this guy create a 4D shape with 3D calculator.

  • @cardrabitt1159
    @cardrabitt1159 2 года назад

    The jojo music accurately articulates this guy’s power

  • @user-mo3px3sp6u
    @user-mo3px3sp6u 2 года назад +8

    As soon as I heard Giorno's theme, I knew this is gonna be epic asf
    Thank you

  • @psychpile
    @psychpile 2 года назад

    Feels like the chance to make a very good data visualizer

  • @catakuri6678
    @catakuri6678 2 года назад +1

    Giorno's theme makes this 100 times better

  • @DevashishGuptaOfficial
    @DevashishGuptaOfficial 2 года назад +1

    Absolutely blown by your stuff! You earned a sub ❤️

  • @plaidev
    @plaidev 2 года назад +2

    2:25 that was insane

  • @ernest3286
    @ernest3286 2 года назад

    Haha, Golden Wind at the end was pretty funny

  • @MuradBeybalaev
    @MuradBeybalaev Год назад

    I noticed some fudging.
    And you left out the most interesting part: the input interface.
    In my experience, convincing Desmos, that points can have more than two coordinates is quite a task.

  • @TheChunkyTortoise
    @TheChunkyTortoise 2 года назад

    This is probably the nerdiest thing I’ve ever seen, but some how I was actually entertained

  • @giveitupforbeabadoobee
    @giveitupforbeabadoobee 2 года назад +1

    damn the giorno theme completes it

  • @jacob4097
    @jacob4097 2 года назад

    absolutely brilliant. First video of yours I've seen and I loved it.

  • @Qyubd
    @Qyubd Год назад

    i have absolutely no idea what this man is talking about but i enjoyed the video anyways

  • @mashpotato832
    @mashpotato832 2 года назад +3

    I only just started watching JoJo's Bizarre Adventure last night, and now I'm seeing it everywhere, even hearing great songs from it such as "Il Vento D'oro" as I watch videos about graphing calculators.

    • @henriquesanchez9573
      @henriquesanchez9573 2 года назад +1

      This is the point where you begin to see that everything is a Jojo reference.

  • @icebarefoxy
    @icebarefoxy 2 года назад

    This video has suddenly made me want to become a God mathematician so I can simply pass the time in math class

  • @kirbsly
    @kirbsly 11 месяцев назад

    I have been experimenting with 3D graphing in desmos. I have made a 3D game engine along with a procedural cylinder generator. I just wish I could make look as easy as you do. 👍

  • @yugen2811
    @yugen2811 2 года назад

    That was fascinating for a 3 min video, I like it

  • @hydrochloricacid2146
    @hydrochloricacid2146 2 года назад +2

    Today I learned that there's a Desmos hacking community

  • @xbennly92
    @xbennly92 2 года назад

    "idk what im doing"
    proceeds to explain in a perfect amount of detail on whats happening

  • @ThatAlx
    @ThatAlx 3 года назад +1

    during math class:
    1st second: 1+1=?
    blinks
    next second: this video

  • @avijitsarker645
    @avijitsarker645 2 года назад

    Dude you're a magician

  • @Green24152
    @Green24152 2 года назад

    Didn't expect that music choice.

  • @sibottle
    @sibottle 2 года назад

    He makes it sound so easy

  • @KrazyCouch2
    @KrazyCouch2 2 года назад

    How have I not seen this video yet. RUclips recommendations have failed me...

  • @agustingramajo8350
    @agustingramajo8350 2 года назад +2

    Now you need to make Doom run on it

  • @adibbida9861
    @adibbida9861 Год назад +1

    Giornos theme really adds the immersion

  • @paris_mars
    @paris_mars 2 года назад

    I like how the end seems to have just been filmed on your phone.

  • @Yasmine91646
    @Yasmine91646 6 месяцев назад

    Lmao the chaotic music in the background

  • @ammonkunzler3948
    @ammonkunzler3948 2 года назад +3

    Amazing work!

  • @re.liable
    @re.liable 2 года назад

    wtf bro you're a genius

  • @cadenbdaniels
    @cadenbdaniels Год назад

    My dumbass read the thumbnail as “3D Raindeer” and was still impressed despite the disappointment of no 3D raindeer.

  • @smitdev
    @smitdev 2 года назад

    music: epic
    john: depressed

  • @WYouTuber
    @WYouTuber 2 года назад

    Girls: "Our signs aren't *that* subtle."
    Their signs: 2:34

  • @arefinlabib4630
    @arefinlabib4630 2 года назад

    what a golden experience!

  • @bluium7603
    @bluium7603 2 года назад +2

    now that 3d rendering and machine learning is possible, can you run doom on desmos?