I was playing around with Paul Hayes 3D cube example and thought I’d convert the Cube into a rectangle and modify the JavaScript selectors a bit to allow more than one 3D viewport. While I was doing this I thought, what the heck, lets make it responsive too. Resize your browser window to try it out.

Please note this only works in Chrome and Safari.

Code on Github