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.

packing order

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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -