()
| 316 | document.head.appendChild(favicon); |
| 317 | |
| 318 | function updateFavicon() { |
| 319 | requestAnimationFrame(updateFavicon); |
| 320 | let img = canvas.toDataURL(); |
| 321 | favicon.setAttribute("href", img); |
| 322 | } |
| 323 | |
| 324 | setInterval(() => { |
| 325 | context.clearRect(0, 0, canvas.width, canvas.height); |