This commit is contained in:
awesomeuser 2023-07-07 20:26:58 +00:00
parent 289491585e
commit 3e94e05d37

View file

@ -83,13 +83,13 @@
let x = Math.cos(t) * 20; let x = Math.cos(t) * 20;
let y = Math.sin(t) * 20; let y = Math.sin(t) * 20;
header.style.transform = "translate(" + x + "px, " + y + "px) rotate(" + (Math.cos(t) * -5) + "deg)"; header.style.transform = "translate(" + x + "px, " + y + "px)";// rotate(" + (Math.cos(t) * -5) + "deg)";
header.style.textShadow = `-4px 4px #c91a29, header.style.textShadow = (Math.cos(t - 0.5) * 20 - x) + " " + (Math.sin(t - 0.5) * 20 - y) + " #c91a29,";
-8px 8px #c94f1a, //-8px 8px #c94f1a,
-12px 12px #a6c91a, //-12px 12px #a6c91a,
-16px 16px #1ac95a, //-16px 16px #1ac95a,
-20px 20px #1a60c9`; //-20px 20px #1a60c9`;
// loop // loop
requestAnimationFrame(update); requestAnimationFrame(update);