pub.solar/background.js
2022-06-04 18:25:09 +02:00

11 lines
411 B
JavaScript

document.getElementById('x1312').innerHTML = (new Array(400)).fill("0x1312").join(" ");
const background = document.getElementById("background");
const logo = document.getElementById("logo").cloneNode(true);
logo.id = "";
(new Array(Math.ceil(window.innerWidth / 100) * Math.ceil(window.innerHeight / 100)))
.fill(null)
.map(_ => logo.cloneNode(true))
.forEach(l => {
background.appendChild(l);
});