It's a great prototype! I read that you spent time on the engine, if you did it from scratch (I assume by the <script>), that's a lot of work for raycasting and depth (which sometimes bugs out)!