# boxesAreLight

This program uses two libraries: Peasycam and https://github.com/nervoussystem/OBJExport

Usage:

- Click and drag the mouse to rotate the camera. Mousewheel to zoom it/out.
- Press [space] to save the current camera orientation to a file called `camera.ser`.
  This file will be loaded when starting the program again.
- Press [e] to export `boxesAreLight.obj` to disk
- Press [r] to randomize the shape
- Press [s] to save the view to `thumb.jpg`

The program in action:

![](https://raw.githubusercontent.com/hamoid/Fun-Programming/master/processing/ideas/2015/01/boxesAreLight/thumb.jpg)

The exported .obj file rendered with Blender

![](https://raw.githubusercontent.com/hamoid/Fun-Programming/master/processing/ideas/2015/01/boxesAreLight/render.jpg)

