The idea at first was to make a 3D menuing system in Javascript where you choose from potentially hundreds of elements by mousing over an interactive 3D environment. This proof-of-concept is a cube with 64 (4x4x4) elements in it.
For now it's a basic 3D object inspection applet that uses your browser's DOM to store and manipulate a 3D object by plotting a set of points in 3D space using only rectangular DIVs. The 'closer' elements are rendered bigger than the farther ones and use z-indexing for hiding obscured elements. This doesn't use any trigonometric functions -- just integer arithmetic -- so this should be pretty fast even on a slow browser.
Mouse over the applet and see for yourself. Seems to work on every modern browser I've tested except for IE8 -- it seems IE8 particularly has a lot of problems like this in the wild, so I'm not fixing it for this browser yet.