PLEASE DON'T COMMENT YOUR FPS I DON'T CARE New, more efficient triangle drawer. Where my old one could run 100 triangles per frame at 5 fps, This one runs 100 triangles at about 90 fps on my current computer. It runs at 30 fps on my school Chromebook. Any flashes on the screen are caused by 2 points being inside of each other. It will not be an issue when using non-random triangles. It runs much faster in Turbowarp: https://turbowarp.org/818568990
All code by me :) This is the first component in my quest to make Super Mario 64 in Scratch. Check out my YouTube channel where I document my progress: youtube.com/@Randmguy48. Here's my Desmos graph if you want to try to figure out my process: desmos.com/calculator/ckeviyk8ul