The Box: Amazing demo using Sprite3D.js and CSS 3D Transforms
developer.mozilla.org
developer.mozilla.org
Honestly, isn't this just going to add a bunch of dumb cruft to what browser vendors will have to support and probably just for the sake of being 201x's <blink> tag?
EDIT: To clarify--wouldn't it be more useful to focus on faster js engines and better WebGL support?
- 3D visualization for describing medical conditions to patients.
- representation of drug molecules to prospective doctors and molecular scientists.
- Visualizing spatial trends in big data.
As far as WebGL, it clearly is important for any serious 3d. But adding a slight 3d effect to a UI element should not require a detailed knowledge of shaders and 3d geometry.
All i am getting is the bottom of a box that i can move around, and high CPU use.
If there's interest in playing with such technologies then I suggest reading up on z-fighting because if you understand why it happens then you can attempt to work around it. There are lots of old tips and tricks that still apply today.
Thinking it over I may be incorrect in referring to this in the way I have. The issue I'm seeing is the back-to-front rendering (I'm assuming this is what the example is doing) of a smaller object being displayed on top of larger object and the renderer getting confused on the draw order.
Edit: ghusbands points out my confusion below
Granted, I'm not a 3D programmer but I built enough levels for 3D engines back in the day to have to be aware of these issues to design around them. This is all from memory so I could be totally off but this what it seems to me.
Works great in the latest Firefox Nightly on the same machine.