<html lang="fr">
<head>
<meta charset="utf-8">
<title>Demo</title>
<style>
html,body{
height:100%;
margin:0;
}
body{
overflow:hidden;
}
#svg1{
width:100%;
height:100%;
}
#div1{
position:absolute;
top:0;
left:0;
font-family:sans-serif;
font-size:8px;
}
</style>
<body>
<div id="div1"></div>
<svg id="svg1">
</svg>
<script>
var ww=Math.round(window.
var wh=Math.round(window.
var svg1=document.getElementById("
var div1=document.getElementById("
var i;
ww=Math.round(window.
wh=Math.round(window.
div1.innerHTML="window size : "+ww+" x "+wh;
for(i=0;i<Math.round(ww/20);i+
var c=document.createElementNS(
c.setAttributeNS(null,"cx",
c.setAttributeNS(null,"cy",
c.setAttributeNS(null,"r",10);
c.setAttributeNS(null,"fill","
c.setAttributeNS(null,"id","c"
var a=document.createElementNS(
a.setAttributeNS(null,"
a.setAttributeNS(null,"
a.setAttributeNS(null,"type","
a.setAttributeNS(null,"values"
a.setAttributeNS(null,"dur",(
a.setAttributeNS(null,"
svg1.appendChild(c);
c.appendChild(a);
}
</script>
</body>
</head>
</html>