Posted by: addyedina | February 10, 2010

HTML5 – The power of canvas


While looking at the mornings geo-related blogs and news i came across a very neat example of what you can achieve with HTML5, which I spotted on the Fuzzy Tolerance site.

Click the link below to check out the sketch pad application, unless of course you are using IE.

Mugtug

No Flash or Silverlight or Java here – just HTML5 canvas and JavaScript.  The real power is in the browser’s implementation of the Canvas specification – i.e the browser’s rendering and graphics engine. you can’t see that code. All canvas does is provide a consistent  ( standard) way of invoking the browser native graphics and rendering capability across different browser implementations. Except IE of course who want to do it their way with VML. Fortunately, there is a javascript library (excanvas.js) to make the canvas code work on IE too – although that does need to execute lots of Javascript and therefore is much slower.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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

Categories

%d bloggers like this: