Loops and Subroutines in Desmos.

Поділитися
Вставка

КОМЕНТАРІ • 45

  • @Yackalips
    @Yackalips Рік тому +18

    thats pretty amazing that you came up with that

  • @absalomdraconis
    @absalomdraconis Рік тому +15

    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 Рік тому

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

  • @BlueToadFan913
    @BlueToadFan913 Рік тому +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!

  • @notwithouttext
    @notwithouttext Рік тому +3

    best nonvocal youtube channel that makes educational videos

  • @trimansinghtuteja4199
    @trimansinghtuteja4199 Рік тому +7

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

  • @JosiahDW4368
    @JosiahDW4368 2 місяці тому +1

    If anyone needs to know the NAND function, but already have the buffer function and the "and" function. Here is the NAND Function:
    n_{and}\left(i_{n1},i_{n2}
    ight)=a_{nd}\left(n_{ot}\left(i_{n1}
    ight),n_{ot}\left(i_{n2}
    ight)
    ight)

  • @username-ur6dq
    @username-ur6dq Рік тому +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 Рік тому +3

      reposted comment cause youtube algorithm deleted it for having links lmao

  • @jamesloeffler9649
    @jamesloeffler9649 Рік тому +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 😎

  • @sysy_ep
    @sysy_ep Рік тому +4

    This is so cool!

  • @aashsyed1277
    @aashsyed1277 Рік тому +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

  • @G-Five
    @G-Five Рік тому +2

    you are soo underrated, your content is amazing!)

  • @jinz3.1415
    @jinz3.1415 Рік тому +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  Рік тому +3

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

  •  Рік тому +1

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

  • @battlefir5050
    @battlefir5050 Рік тому +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

  • @thevalarauka101
    @thevalarauka101 Рік тому +1

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

  • @drggayathridevi195
    @drggayathridevi195 6 місяців тому +2

    Something happened I can’t put first version

    • @gallium-gonzollium
      @gallium-gonzollium  6 місяців тому +1

      Maybe a link might help ua-cam.com/video/lYEf8lpg62U/v-deo.htmlsi=_jJUgqo5dYuuYjKQ

    • @drggayathridevi195
      @drggayathridevi195 6 місяців тому +1

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

  • @drggayathridevi195
    @drggayathridevi195 6 місяців тому +2

    Part 3 please

  • @drggayathridevi195
    @drggayathridevi195 6 місяців тому +1

    I made it but very small

  • @patedemorg
    @patedemorg Рік тому +1

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

  • @motherisape
    @motherisape Рік тому +1

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

    • @gallium-gonzollium
      @gallium-gonzollium  Рік тому +1

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

  • @ZaidMinhas
    @ZaidMinhas Рік тому +1

    Ok, but can it run recursions ?🤔

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

    Where's part 3? :(

    • @gallium-gonzollium
      @gallium-gonzollium  Місяць тому +1

      @@JosiahDW4368 I lost most of Part 3 due to my editing software losing me all files of which I showed I/O in Desmos. I haven't been getting the motivation to do it again, though I may restart it once I get settled with other things.

    • @JosiahDW4368
      @JosiahDW4368 Місяць тому +1

      @@gallium-gonzollium Alright, well good luck my dude. I hope you can do it again, I loved those videos on how you would explain to the viewers that Desmos is a programming language.
      I may even create a coding language in Desmos, just like you did.

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

    How do you type the arrow

    • @gallium-gonzollium
      @gallium-gonzollium  Рік тому

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

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

      @@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.

  • @ariantuestaesperon4645
    @ariantuestaesperon4645 3 місяці тому

    how do you get the arrow

  • @numberbasher269
    @numberbasher269 Рік тому +1

    wow 2nd

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

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

  • @VeasnaLim-q8h
    @VeasnaLim-q8h 4 місяці тому +1

    IiiiiipLl-/6?!