Use the arrow keys to rotate and space to not have a connecting line when you draw again. Click on one area and then click on another to make a line.
Credit to boaz4 for the 3d engine.