So you want to give canvas a try? Well I can help you there!
The latest addition to this site is a page where you can interact with the canvas at the top of the page (that checked area). The page is essentially a text box that you type javascript into and then click "Give it a try".
View the Page.
Why am I offering this I hear you ask?
Well there really isn't any risk to it, using the javascript console in chrome you could do the same thing and javascript is client side, I'm not exposing my rails app to any user inputted code, so when you put a infinite loop in there all your doing is lagging up your own browser.
After you've played around a bit with the canvas you may have created something that looks really nice, and would suit one of my posts (importing an image doesn't count), put the code in a gist and send it my way and I will try to use it.
There is no limit to what you can do with the canvas, canvas.width and canvas.height can be used to alter its dimensions, but be warned only change your canvas properties at the beginning our you will erase your doodles.
Canvas is completely capable of being used to animate, draw a frame erase it and then draw the next frame. The feature list is immense and its all javascript, so the end user needs no extra librarys (unless its IE).
The latest addition to this site is a page where you can interact with the canvas at the top of the page (that checked area). The page is essentially a text box that you type javascript into and then click "Give it a try".
View the Page.
Why am I offering this I hear you ask?
Well there really isn't any risk to it, using the javascript console in chrome you could do the same thing and javascript is client side, I'm not exposing my rails app to any user inputted code, so when you put a infinite loop in there all your doing is lagging up your own browser.
After you've played around a bit with the canvas you may have created something that looks really nice, and would suit one of my posts (importing an image doesn't count), put the code in a gist and send it my way and I will try to use it.
There is no limit to what you can do with the canvas, canvas.width and canvas.height can be used to alter its dimensions, but be warned only change your canvas properties at the beginning our you will erase your doodles.
Canvas is completely capable of being used to animate, draw a frame erase it and then draw the next frame. The feature list is immense and its all javascript, so the end user needs no extra librarys (unless its IE).

CSS Based on Twitters Bootstrap

All Content is written by Adam Laycock (Arcath) unless otherwise stated.




