Click in the region above to start.
Click again to create a box.
Press the Up or Down keys to move in and out of space.
If you click and drag, you can modify the size and direction of the box that you create.
To start over, hit the control button twice.
The three dimensional work shown above was created using Processing
You can download the source code here