Webkit Rotation Calculator

What does a square look like rotated in space?

Enter four points, clockwise, that could be the corners of a square rotated in 3D space. Press 'calculate' and the software will try to determine the transformation that yields that shape.  Your results will look like this:

The middle window shows your transformation applied with HTML5.  The textarea shows the HTML5 code you need to paste for the effect.  Open your console for interesting output.

Your calculated Webkit transform: