This is something called a ray marcher, it is a slower version of a ray tracer. I am hoping that I can be able to get this to be a ray tracer because they are really quite similar just a ray tracer is a little more math heavy and a lot more optimized. Run in turbo mode to speed up.
Just me, I didn't even have to borrow any math, imagine that. Run in turbo warp with Speed up enabled to get it to run in real time. WASD to move.