canvas - How to generate simple 3D images in JavaScript -
i generate simplified version of following static image in pure javascript. should work 2010 vintage browsers, can't wait firefox 4 , webgl.
i not need fancy textures - task visualise how stack boxes.
btw: current image generated pov-ray overkill job - , not run in browser ;-)
as don't need fancy textures i'd recommend vintage support stack images mentioned earlier. made example you: http://jsfiddle.net/andersand/5rsex/
the simple function illustrate, , drawing of segmented box. of course may need figure out box placement, orientation, , on if business goal.
that approach boxes of various height (z axis). if boxes vary in width (x and/or y) you'd need create more images suit needs.
Comments
Post a Comment