First, change the variables on left and the point will move to the coordinates you have set, if you want to stap the point, press space bar. When you press space bar, the code will make a line from the last point you have staped and the one you have created just now. If you are watching this, I want to remember you that you can smash the love and favourite button. Also, you can follow me. :)
I don't undestand at all the 3D codes that people usually use, so, I created a 3D system that unfortunelly is static, that means you can't rotate the figure that you have created. The code is very simple.