<canvas>
tag today (while reading about iPhone's lack of support for 3rd party apps).Basically,
<canvas>
allows you to do 2D drawing inside a browser. It's supported by Firefox, Safari and Opera.Here's what Mozilla Development Center says about
<canvas>
:Some<canvas>
is a new HTML element which can be used to draw graphics using scripting (usually JavaScript). It can for instance be used to draw graphs, make photo compositions or do simple (and not so simple) animations.<canvas>
was first introduced by Apple for the Mac OS X Dashboard and later implemented in Safari. Gecko-based applications support this new element starting with Gecko 1.8 (i.e. Firefox 1.5 and later). Opera 9 supports<canvas>
as well.
The<canvas>
element is part of the WhatWG Web applications 1.0 specification also known as HTML 5.
<canvas>
links:- Google has created ExplorerCanvas, a script tag that allows
<canvas>
to work in Internet Explorer. - Google wasn't the first.
- Benjamin Joffe has a demo of
<canvas>
called "Canvascape", also available in texture. - Canvas tutorial
- Drawing Graphics with Canvas
- Wikipedia entry "Canvas (HTML element)"
No comments:
Post a Comment