1

2

3

4

5

6

|


X
|


Y
|


Z
No orientation events recieved
No acceleration events recieved

"The magic cube"

If you are viewing this on an iPad or other device that contains a gyroscope, just move you device around the cube.
If your device doesn't contain a gyroscope you can simulate the movements by "mouseover" the dials below the cube.
Note: The "transform-style: preserve-3d;" CSS3 setting isn't supportted in Explorer, so the cube doesn't look as a cube.
See browser compatible overview at: caniuse.com#feat=transforms3d.

The magic is in the code.