Arrow keys to move
I found a tutorial You may use this code if you want. You just plot two xyz coordinates and it draws a line in 3Dimensions. You can also fill.