tried my best to make a GL-similar environment for drawing graphics in scratch. Implemented a depth buffer and perspective matrix for 3D graphics so. No z-clipping yet so I'll have to maybe make a geometry shader or something for it.
This is a demo of my GL environment for Scratch, ScratchGL. I am simulating the workings of a graphics library because why not. Also there are uniforms, attributes, varying properties, and shaders too! Feel free to use this for whatever janky stuff you have in mind.