I have some x and y positions in a database table, that go to make up a design for a window.
What I would like to do is draw this onto a HTML5 canvas in my app, but I'm not sure what the best way is to pass data out of my database into the canvas object (I'm not really a JavaScript/web guy).
It will just be drawing lines, that i can do but I'm not sure the best way to get the data into the canvas so I can draw it.
A quick fiddle page for you, maybe this can get you started. http://dotnetfiddle.net/D3OqTy
I recommend read some html5 canvas tutorial
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.