z0b's realm

Spinning JS/CANVAS cube test (not WebGL)

Fun for one boring night...

Backface culling

Exciting, isn't it? If you don't see a spinning 3D cube above, then something is wrong. Most likely your browser is too old or broken in some way. If you're sure it's not your browser, then feel free to complain.

Rotation matrix is computed manually and the cube vertices are rotated with it. Rendered is handled by the canvas tag. No WebGL here.