API

http://processing.org/reference/alpha.html

building the 3D matrix

http://processing.org/reference/pushMatrix_.html