This is a wireframe 3-D engine drawing a cube. I do not know how to control distortion. For how to make the engine, see inside. You are allowed to use the code for your 3D projects, but please give credit.
v3-added fov option v2- added VSD v1- made I made this renderer all by myself! Please experiment with the shape and post your shape's points in the comments for others to try To change the shape, go into the list points, and the line syntax is: a b c d e f for a line starting at (a,b,c) and ending at (d,e,f). For multiple lines, just do: a b c d e f g h i j k l for two lines, one starting at (a,b,c) and ending at (d,e,f), and the other one going from (g,h,i) to (j,k,l). I made a cube that has a side length of 1 and is centered at (0.5, 0.5, 0.5) as the example. This is a project that is my first step for a better 3-D engine.