Use Turbowarp https://turbowarp.org/1092125451/ WASD and QE to move, arrow keys to rotate
Wikipedia for the 3d to 2d equation, @MathMathMath for the rotation and perspective equations