<html>
<head>
<meta charset="UTF-8">
<style>
svg{
background:royalblue;
}
</style>
</head>
<body>
<svg width="1200" height="800" id="mysvg">
<text x="100" y="100">ὠ</text>
</svg>
<script>
function fsmile(){
var mysvg = document.getElementById("mysvg");
var decoded = encoded.replace(/&/g, '&');
for(var i=0;i<50;i++){
var a=Math.round(Math.random()*69)+128512;
var b=a.toString(16);
var emoji="\u0026#x"+b+";";
var myTextElement=document.createElementNS("http://www.w3.org/2000/svg","text");
var myText=document.createTextNode(emoji);
var x=Math.round(Math.random()*1200);
var y=Math.round(Math.random()*790)+10;
myTextElement.setAttribute("x",x);
myTextElement.setAttribute("y",y);
myTextElement.setAttribute("font-family","Arial");
myTextElement.appendChild(myText);
mysvg.appendChild(myTextElement);
}}
fsmile();
</script>
</body>
</html>