Вставляют в боди а id не надо было-простейший пример отсюда
http://libcanvas.github.com/
<html>
<head>
<meta charset="utf-8" />
<title>LibCanvas :: Base animating</title>
<link href="http://libcanvas.github.com/files/styles.css" rel="stylesheet" />
<script src="http://libcanvas.github.com/files/js/atom.js"></script>
<script src="http://libcanvas.github.com/files/js/libcanvas.js"></script>
</head>
<body>
<canvas></canvas>
<script>
new function () {
var libcanvas = new LibCanvas('canvas').start();
var shaper = libcanvas
.createShaper({
shape : new LibCanvas.Shapes.Circle(150, 75, 15),
fill : '#900',
stroke: '#f00'
});
(function () {
shaper.animate({
props: {
'shape.radius': 75,
fill : '#090',
stroke: '#0f0'
},
time: 1000
});
}.delay(1000));
}
</script>
</body>
</html>