diff --git a/index.html b/index.html index 93f5915..ca67b1b 100644 --- a/index.html +++ b/index.html @@ -82,7 +82,7 @@ var header = document.getElementById("header"); async function update(timestamp) { - header.style.transform = "translate(" + (Math.cos(timestamp) * 20) + "px, " + (Math.sin(timestamp) * 20) + "px)"; + header.style.transform = "translate(" + (Math.cos(timestamp / 1000) * 20) + "px, " + (Math.sin(timestamp / 1000) * 20) + "px)"; // loop requestAnimationFrame(update);