Working with the HTML5 canvas


By Dan Carr – The HTML5 canvas is an interesting feature of this increasingly widespread web standard. With it you can draw dynamic content to any web page and add features like drawing tools, animation and graphic effects, and interactivity to your websites.

The HTML5 canvas is an invisible 2D grid that you can use to draw graphics and animations (See diagram). Any number of canvases can be added to an HTML page using the <canvas> tag.

The canvas tag itself is very simple. It defines an invisible resolution-dependent coordinate space at a given width and height. The coordinates run along two axes (x and y) starting at 0, 0 in the upper left corner. more> http://tinyurl.com/bptjsfo

About these ads

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s