Having fun with Canvas
While doing this i remember my university days where we drew stuff on the command line using C (borland turbo c) and those days are hard but fun
Code:The code is a bit long so i suggest to View Source this page.
- Canvas only have a few drawing objects but combining them seems to be useful.
- If you had experience drawing graphics on command line in c or c++, then the feeling is the same (well for me it is).
- To understand the code, i suggest you to read the mozilla link at the bottom, the explaination there is really good.
Works on:All browser except IE unless you add something to make it work see Canvas in ie.