7. SVG
● Signifie Scalable Vector Graphics
● Format vectoriel en XML
● Supporte
– Image statique
– Animation et l'interactivité avec
Synchronized Multimedia Integration Language (SMIL)
– Couleur RGB avec une option Alpha en plus
● Mémorise le 'graph' objet en mémoire dans le DOM
● Couplage à CSS
34. Animation
● En code
function startUp()
{
resize();
var mybubble = document.getElementById("Bubble")
xm = nx/2;
ym = ny/2;
for(i=0;i<NB;i++) {
object[i] = new makeSphere(i);
}
setInterval("for (i in
object)object[i].moveSphere()",16)
}