Make a 3D engine in Desmos in 3 minutes.

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

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

  • @darkener3210
    @darkener3210 2 года назад +274

    All I can imagine is a math teacher slowly divolving into an auctioneer as he's teaching the class.

  • @ephedrales
    @ephedrales 2 года назад +187

    This would be a great introduction for a course on computer graphic's programming.

  • @BRORIGIN
    @BRORIGIN 2 года назад +116

    By extrapolation it should take you 5 minutes to make a 5D engine

    • @cythism8106
      @cythism8106 Год назад +9

      With 5d, there are 10 rotation planes, and with 5 perpendicular axes for vertex positions, thats 50 defined variables for each rotation. Not to mention needing to use 3 projection functions to bring the 5d points down to 2d and how you would need 160 triangles for the shape.
      But yeah, I think that could be done in 5 minutes.

    • @mari-with-a-gun
      @mari-with-a-gun Год назад +4

      well how quickly can you make a 2D and 1D engine? you need more data points!
      now, 2D is easy because... it's already done. (0 seconds)
      I was able to make a 1D calculator in about a minute, give or take
      From these three data points, I found that the equation 2x^2 - 7x + 6 connects all three
      Therefore, a 5D engine should take 21 minutes

    • @hypercoder-gaming
      @hypercoder-gaming 11 месяцев назад

      @@mari-with-a-gun wow noice math 👌👌👌

    • @hypercoder-gaming
      @hypercoder-gaming 11 месяцев назад +1

      @@mari-with-a-gun One problem: 0 dimensions takes 6 minutes

    • @hypercoder-gaming
      @hypercoder-gaming 11 месяцев назад +1

      @@mari-with-a-gun fixed it: l\left(x
      ight)=x\operatorname{mod}\left(x,2
      ight)
      works like a charm

  • @austingarcia6060
    @austingarcia6060 2 года назад +54

    While I'd made a basic 3d projection on desmos... it definately took me more than 17 lines. It took me 52 lines (It does fix things-behind-the-camera and implements basic fov and controls), but the simplicity of your rotation system is beautiful

  • @lillegitimate
    @lillegitimate 23 дня назад +1

    I made a 10D, 11D and 26D engine in desmos in 10, 11 and 26 minutes respectively to test my string theory observations. This was a good introduction of how to make a n-dimensional engine, would recommend this to my undergraduates.

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

    A tip to help you find the indices
    Create a list that contains 1 through the amount of points there are. For example, a cube, it would be [1,...,8].
    Then turn on the labels for the displayed points and set the label to be ${List Variable}. This will display the points' index on each point which makes finding indices a lot easier.

  • @bettercalldelta
    @bettercalldelta 2 года назад +41

    0:20 I agree with you, Z-uppers don't know how coordinates work, because in 2d space there are X and Y coordinates, and when you add a new axis you add 3d depth, not height

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

      Whether Z should be up or forwards is dependent on the case. In a top down format Z-up makes sense, in a side view Z-forwards makes sense. I’m personally for Z-up because once you introduce rotation, horizontal and depth become indistinguishable while vertical remains unique. I’d rather have X and Y interchangeable while Z unique than X and Z interchangeable while Y unique.

    • @dhirendramadai9903
      @dhirendramadai9903 2 года назад +12

      Meanwhile X-uppers: uh uh👀

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

      I'm a W-upper.

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

      Blender users :(

    • @zyronebiglang-awa6871
      @zyronebiglang-awa6871 Год назад

      @@asheep7797wdym 4d

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

    Real mathematicians watching in 2x speed

  • @gallium-gonzollium
    @gallium-gonzollium Год назад +12

    Desmos 3D: “am i a joke to you”

    • @Radian628
      @Radian628  Год назад +6

      I can't wait for (hopefully) more user interaction features in it. If they add some kind of joystick system, I'm making Desmos Plane 2.

    • @gallium-gonzollium
      @gallium-gonzollium Год назад +2

      @@Radian628 oh my goodness, i didn’t realise it was you! yes, please have a sequel! :D

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

      @@Radian628 how do you connect the rotation?

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

    The amount of caffeine in this guys blood circulation

  • @heybillpack
    @heybillpack Год назад +4

    HOLY SHIT THIS IS THE BEST INSTRUCTIONAL VIDEO IVE EVER SEEN. Thank you so much for the brevity and speed. I got shit to do.

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

    **WAIT, YOU CAN FOR-LOOP IN DESMOS?!**

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

    This helped me make a 3d engine in JavaScript!

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

    Ok guys today we are gonna make a 3d engine in Desmos:
    First step, *speaks a ancient language unknown to mankind faster than the human mind can procces*
    Second *proceeds to speak that ancient language faster than your mind can interpret*
    Third *Speaks every single event that happened from the start of the big bang to the present faster than desmos can draw y=x+1*

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

    i found a little improvement. instead of looping over 12 element list, you should loop over length of indices divided by 3 (1...length(indices)/3). that way if you add more indices the system wouldn't break

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

    wow, that was fast
    nice tutorial!

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

    Playback speed = 0.75 it is then!
    In all seriousness, thank you so much for making this!

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

    I'll try to follow along on Desmos...
    Emphasis on *try*
    (Fr tho, this video is really cool and well made!)

  • @NguyenMinhPhu664
    @NguyenMinhPhu664 6 дней назад

    I never thought I would have to follow a tutorial from a y-upper, but here I am...

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

    This is actually really neat haha

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

    I didn't know placing down a block in minecraft was this hard

  • @notfrommoscow4071
    @notfrommoscow4071 Месяц назад +1

    If i talk fast enough i can fit the entire calc 3 syllabus in 3 minutes too

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

    bro is speaking speedrun

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

    okay but why did i just spend so much time making rotation for the cube. maybe because i was rotating every single vertex inside of my shape instead of the camera?

  • @BananaMan6763
    @BananaMan6763 3 дня назад

    I’ve seen so many cool projects made in Desmos. I would see them and get inspired to wanna make my own, but then I just don’t and lose interest. It’s realize I would just like to focus on programming and trying to understand concepts with low level game dev rather than using Desmos for these amazing games.
    But do you think I should try to make impressive projects in Desmos to better me in programming related things? Could making things like a 3d engine in Desmos and other amazing projects help me with my interests in game programming?

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

    I have had to double the playback speed because it didn't go quick enough for me.

  • @capy9846
    @capy9846 9 месяцев назад +1

    You made me put the video on 0.75x speed 💀

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

    how do you get variable names with multiple characters?

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

      After you type the first letter in the variable name, press the underscore "_" key, and it'll let you type additional characters there.

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

    Now there’s Desmos 3d

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

    1 small issue: if you get too close to the shape, it... breaks?

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

    The fact that he is also speaking that fast is a bit scary...

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

    This is awesome!

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

    How do I rotate the cube?

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

    your tutorial is genuenly good cuz its quick and simple as i've recently finished watching tutorials on matrices
    your rotation is kinda shit though

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

      Thank you! That was my goal: I wanted something as quick and easy-to-implement as possible so that people could build off of it--- including, like you said, with rotation matrices.

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

      @@Radian628 it already uses rotation matrices, just in a not so obvious way.

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

    Nice, I didn’t had to rewatch the video. 😃

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

    All aboard for this thrilling adventure! Next stop: DOOM! (the game)

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

    I like your funny words, magi- oh wow that video is old.

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

    Idk why this got recommended to me
    I can't process what the guy here says
    The formulas for my C# brain are just out of the window
    W-wha?......

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

    Also, Radians or degrees?

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

      It doesn't matter if you are using Cartesian coordinates. All you would need to change are the angles for the rotations' upper and lower bounds which is 0-360 for degrees and 0-2π for radians.

  • @woo-wer
    @woo-wer 8 месяцев назад

    the face thingy magik no work i think me forget coemthing

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

    What?

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

    Just here to remind you, your name is incorrect. The numbers 6.28318... is NOT a radian as your name suggests, but a Tau also known as 2pi radians. Anyways great video 👍

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

      bruh they mean 6.28 radians = 1 circle.
      two radians = 1/tau of full circle

  • @Ulfric-yv3xk
    @Ulfric-yv3xk 6 месяцев назад

    All that math just to draw a single cube?!!

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

    bruh this guys eminem

  • @billsmafia-ei3rs
    @billsmafia-ei3rs Год назад +1

    you lost me at “hi”

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

    Eminem got a new opponent

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

    dont worry guys, on 0.75 he speaks in a human velocity

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

    I dont think this works anymore

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

    link p l s

    • @Cool_Bungle
      @Cool_Bungle 8 месяцев назад

      It's in the description

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

    Slow down, man. What is this, some used car auction?

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

    ...unlike these cringe z-uppers * uses blender with z being up *

  • @Cris-kb5mo
    @Cris-kb5mo 2 года назад

    Dude i had to watch it at 0.75x to understand

  • @CarterLlama-u9g
    @CarterLlama-u9g 2 месяца назад

    It didn’t work

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

    first !

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

    Huh?

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

    meanwhile im here wondering how he made the values in xyzvalues subscript

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

    Could you please talk a bit slower? Otherwise, it is a very good video, thank you very much.

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

      Slow dow the video

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

      @@Fensmiler I did, but it sounds a bit weird slowed down. (minor complaint, though)

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

    This doesn't help. This is the "How?" not the, "Why?"

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

    i thought i was on 1.25 speed

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

    hooooooly shit i can only imagnie how much fun i woulda had if i found this when i was still in high school

  • @elreturner1227
    @elreturner1227 8 месяцев назад

    Wow cool vid too bad I’m making one myself it’s taking longer and it’s different formula but guess what it’s mine and I made it and that’s all I care about😎(no shortcuts just spamming the (cos a,sin a)(or (sin a,cos a) depends on preference) and figuring out complex analysis maybe even quaternions just. to. make.. a… 3d cube on a 2d graph…probably worth it)

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

    sama lama duma lama...

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

    It’s says cos cannot be used here… also sin

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

    pauses are too long

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

    tf

  • @mihaleben6051
    @mihaleben6051 7 месяцев назад

    Bro is talking 2 times speed [!]
    Yes i used a chemistry symbol, throw up

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

    You talk way too fast lol

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

    why you talk so fast-

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

    what

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

    i'm nauseous, can you please not talk so fast

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

    man

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

    blud described 3d graphics

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

    Z-up = huge L

  • @JonMacCaffrey
    @JonMacCaffrey 10 месяцев назад

    too slow had to play at 2x speed

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

    nerd

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

    Hey man do you have an email or something similar where I could contact you directly?