Some canvas tag experiments
I have been doing a little messing with the canvas tag that comes with Firefox 1.5 and Safari. This tag is a new HTML element for programmable graphics. canvas is based on the WhatWG canvas specification, which itself is based on Apple’s canvas implemented in Safari. It can be used for rendering graphs, UI elements, and other custom graphics on the client.
I had seen some examples of using canvas to draw pictures and was inspired by the 3-d demo done by Benjamin Joffe, so I thought I’d have a little play myself. It felt a bit like the early experiments done when Flash5 and MX came out.
Here’s a couple of experiments using some simple physics.