The Canvas Tag
Posted on September 12, 2005
Finally got around to having a quick play with the
<canvas> tag, which is now supported in the Firefox 1.5 Beta, as well as Safari (users of other browsers won't be able to see anything).
For those who haven't come across it, the
Inserting a canvas is as simple as this:
<!-- html: create a canvas tag --> <canvas id="testCanvas" width='100' height='100' />
Here's a quick example I knocked up using
setInterval. Takes me back to those
For a class definition, check out the apple developer's connection documentation.
In OS X the canvas tag is part of the Web Kit, and can therefore be used in any application that has access to it, meaning it can be used to develop widgets such as the world time clock.