USE TURBOWARP. THIS PROJECT WILL NOT FUNCTION ON NORMAL SCRATCH. https://turbowarp.org/1059860415?hqpen&stuck Also don't ask why it's called fish in a barrel. I have reasons. Use WASD to move and Arrow keys to look around. The Laziness slider adjusts the optimization of the n-gon filler that's used to make solid objects. A value of 1 means it will run at normal speed with normal accuracy, and a valued of 0.1 will cause it to run at 0.1 times speed but 10 times the accuracy. You should only need to go to 0.4 to get a pretty good accuracy. However, higher laziness values can cause more visual bugs when you get up close to an object.
This uses a projection script inspired by the one made by @TheGreenFlash. All other code was written by me. My methods of storing points and polygons are based on the .OFF file format.