Varrience The line draw call might be slower, but it also allows for slants. Hence, rect() is out of the question (unless you know of a way to make it slanted).
Also, thanks a lot for suggesting that I use p5.js Vector(). I can now take advantage of mutability and fix another massive FPS dropping issue.
As for the quicksort, I found a decent-looking method off of [some other platform] that seems decent. Finally, I must emphasize that my game's 3D models are all based off of lines, because I've seen what can be done with that and it's pretty cool.
As for the suggested contacts:
I can't contact Owokoyo because his light is too strong and could blind me (also I don't have Discord).
I can't contact Letti either because reasons.
I'll try DragonFireGames. I've seen his 3D Minecraft and it's interesting.

Also, yeah, I noticed that CDO isn't optimized whatsoever, but we'll try, because I have nothing else to do :)

    Have you tried looking into scratchapixel it has a step-by-step tutorial on implementing a rasterizer, one of those steps is z-sorting.

    ackvonhuelio Engineering is not making the best with the best. It's making the best with what you have. CDO is a challenge inasmuch as it is very limited. As Owokoyo said, though, we must get "code.org to its limits."

      Ravage You could also try shape(), it works like rect() but you can make slants and multiples lines. Not sure how it does with performance though.

        Binary_Coder Actually I found that p5js rotate() works better than line() or shape(). The latter two consistently clocked 80 ms, the rotated rectangles (rounded, of course) got 60 ms in a 100-object test. Seems that Varrience was right. Why am I surprised. I shouldn't really be.

        Ravage
        if you really wanna limit yourself...
        seems like poor logic to make life harder for yourself but if you really want that feeling of "omg i got something to work on cdo i'm so smart" then okay.

          ackvonhuelio just let them do what they want jesus christ no one is going to go over to ka with you
          if anyone wanted to not limit themselves they certainly wouldn't be using ka either

            Letti42
            ravage did say that their program was slow, and i wanted to help, i'm not preventing them from ''doing what they want", just suggesting KA for better performance.

            also tf you mean "just let them do what they want jesus christ" I'm not doing anything to prevent people from doing what they want im just sharing my opinions

              ackvonhuelio No, seems like you're bashing on all of us CDO users for using CDO. I will cite you:
              "seems like poor logic",
              Saying that what we're looking for is "omg i got something to work on cdo I'm so smart",
              "tf you mean stoop down ur at CDO that's the lowest of the low"

              If you have any more evidence to give me, please feel free to do so.

                ackvonhuelio No, seems like you're bashing on all of us CDO users for using CDO. I will cite you:
                "seems like poor logic",
                Saying that what we're looking for is "omg i got something to work on cdo I'm so smart",
                "tf you mean stoop down ur at CDO that's the lowest of the low"

                If you have any more evidence to give me, please feel free to do so.

                Ravage
                I am saying tha KA is better
                I am advising that you use KA for better performance
                I am not preventing you from doing what you want, which is what letti said

                Letti42 just let them do what they want jesus christ

                person
                considering the message was targeted at me, yes i took that personally

                Ahh it appears he agrees

                4 days later

                Ravage
                You’re doing what I couldn’t.

                • -wyi replied to this.
                  2 months later

                  Chat