Loops and Subroutines in Desmos.

Sdílet
Vložit
  • čas přidán 14. 04. 2023
  • This is the second in a series about how Desmos can be made as a programming language.
    Graph: www.desmos.com/calculator/cjc...
  • Zábava

Komentáře • 38

  • @Yackalips
    @Yackalips Před rokem +18

    thats pretty amazing that you came up with that

  • @BlueToadFan913
    @BlueToadFan913 Před 11 měsíci +3

    Randomly found this channel after getting the AVM analysis video recommended to me. I just finished a class where I would use the demos calculator because it was the only *good* google calculator I knew, I would use it for square roots and some graphing but the whole time it felt off, like someone out there was using it for MUCH better reasons than me. Lo and behold I find this channel turning it into a literal coding program!

  • @absalomdraconis
    @absalomdraconis Před rokem +14

    If you can implement the either monad, then there's an equivalent of for loops that you could do:
    1) the for loop takes a function, and a list of initial values to that function.
    2) The function does it's work, and returns an either monad.
    3) If the either evaluates to one direction, then the loop is done and the value contained is the result.
    4) If the either evaluates to the other direction, then the loop is incomplete, and the value is treated as an array that holds the next set of arguments to the function.

    • @Rudxain
      @Rudxain Před 10 měsíci

      This hints at recursion. I always wanted to implement recursion in Desmos

  • @notwithouttext
    @notwithouttext Před rokem +3

    best nonvocal youtube channel that makes educational videos

  • @trimansinghtuteja4199
    @trimansinghtuteja4199 Před rokem +7

    The editing in the video is top notch! And don't get me started abt the content! Thx for the awesome content

  • @jamesloeffler9649
    @jamesloeffler9649 Před 11 měsíci +1

    This is amazing! One thing that comes to mind is mapping hyper dimensional objects, such as a Hopf fibration projected through something like Apple Vision Pro, utilizing functions such as these.
    Another is utilizing the example you demonstrated to run 100-scenario simulations (or something like that) for GPT/cutting-edge AI, to run moral/ethical scenarios. Who knows, maybe even Tesla’s DOJO can learn from this.
    Also, @ 1:08 lol nice 😎

  • @aashsyed1277
    @aashsyed1277 Před 8 měsíci +2

    You are the first & only youtuber who is makig this series.
    horray to you.
    Horray to changing what desmos is.
    Now, we don't need any other programming language

  • @username-ur6dq
    @username-ur6dq Před rokem +12

    Neat, i actually made somthing pretty similar a couple months ago and even used it in one of my graphs, anyways keep the good work i am intrested in where this series will go

    • @username-ur6dq
      @username-ur6dq Před rokem +3

      reposted comment cause youtube algorithm deleted it for having links lmao

  • @battlefir5050
    @battlefir5050 Před 10 měsíci +1

    I like your video style, from AVM explanation. I have always wanted to make animated educational videos.... maybe I will find the motivation this month

  • @cvntdav
    @cvntdav Před rokem +4

    This is so cool!

  • @G-Five
    @G-Five Před rokem +2

    you are soo underrated, your content is amazing!)

  • @drggayathridevi195
    @drggayathridevi195 Před měsícem +2

    Something happened I can’t put first version

    • @gallium-gonzollium
      @gallium-gonzollium  Před měsícem +1

      Maybe a link might help czcams.com/video/lYEf8lpg62U/video.htmlsi=_jJUgqo5dYuuYjKQ

    • @drggayathridevi195
      @drggayathridevi195 Před měsícem +1

      Sorry not your link but my link is gone but thanks anyway

  • @drggayathridevi195
    @drggayathridevi195 Před měsícem +2

    Part 3 please

  •  Před 11 měsíci +1

    I actually made an and gate with intervals and sigmas and some absolute value

  • @thevalarauka101
    @thevalarauka101 Před 11 měsíci +1

    lol so I'm currently working on Pong in Desmos and of course this has to come up

  • @jinz3.1415
    @jinz3.1415 Před rokem +3

    wow... this is awesome. Looking forward to the next video since I've been trying to make a print function for a while now but desmos doesn't keep things as strings.

    • @gallium-gonzollium
      @gallium-gonzollium  Před rokem +3

      Yeah, strings have actually been giving me some trouble (specifically printing). It might be in the next video, but no guarantees! :)

  • @ZaidMinhas
    @ZaidMinhas Před rokem +1

    Ok, but can it run recursions ?🤔

  • @motherisape
    @motherisape Před 9 měsíci +1

    How you did a -> a +1 i can't find aero button on my phone

    • @gallium-gonzollium
      @gallium-gonzollium  Před 9 měsíci +1

      It’s exactIy how you wrote it (->) although youd need an account with advanced settings on to be able to use it

  • @heyifyoureseeingthisyouare1537

    what do you use to edit the videos? and how it is so perfect

  • @drggayathridevi195
    @drggayathridevi195 Před měsícem +1

    I made it but very small

  • @maxvangulik1988
    @maxvangulik1988 Před 11 měsíci

    How do you type the arrow

    • @gallium-gonzollium
      @gallium-gonzollium  Před 11 měsíci

      make sure you have advanced features on in your desmos account, then type minus then >

    • @maxvangulik1988
      @maxvangulik1988 Před 11 měsíci

      @@gallium-gonzollium I hate that they would hide functionality in settings like that. Reminds me of “advanced words” in Baba Make Level, which just lets you use the words “level”, “empty”, and “text” in the editor.

  • @numberbasher269
    @numberbasher269 Před rokem +1

    wow 2nd

  • @thescratchguy428
    @thescratchguy428 Před rokem +1

    Desscript

  • @AnnAnnChua
    @AnnAnnChua Před 11 měsíci

    Hello? Does anyone speak english i dont speak smart people language