Processing code to rotate a 2D square in 3D space.