For a web app I am designing, looking for a graphics library (java script based or not) to display in the browser. The application requires to开发者_开发技巧 map a production layout, so may only nee
For a web app I am designing, looking for a graphics library (java script based or not) to display in the browser. The application requires to
开发者_开发技巧 map a production layout, so may only need to draw shapes (rectangles, cubes etc) and interactively modify the size of them. Any suggestion would be helpful. I am aware of widget libraries (jquerUI etc), and some graphing packages (protovis), but hope for something more suitable.
thanks.
Have you taken a look at the <canvas>
element? You'll have to do some abstraction for interaction and such, but it'll let you draw whatever you want.
https://developer.mozilla.org/en/canvas_tutorial
there are free apps that can do this for you. Here is one on the chrome store
https://chrome.google.com/webstore/detail/pcflmbddgcmomcfngehfhlajjapabojh
EDIT -- I have nothing to do with that app, but it seems particularly suited to what you are asking for...
精彩评论