Copy and paste the snippet below into your HTML.
Pretty much this whole thing is based off how I figured out how to draw a cube spinning on the z axis. I'm not using any raytracing or stuff, just cheating.
Also the scenes are long as heck, so be a little patient.