This commit is contained in:
awesomeuser 2023-07-07 20:30:51 +00:00
parent c759f008e9
commit 2c3f26b056

View file

@ -85,11 +85,11 @@
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 = (Math.cos(t - 0.5) * 20 - x) + "px " + (Math.sin(t - 0.5) * 20 - y) + "px #c91a29"; header.style.textShadow = (Math.cos(t - 0.2) * 20 - x) + "px " + (Math.sin(t - 0.2) * 20 - y) + "px #c91a29,"
//-8px 8px #c94f1a, + (Math.cos(t - 0.4) * 20 - x) + "px " + (Math.sin(t - 0.2) * 20 - y) + "px #c94f1a,"
//-12px 12px #a6c91a, + (Math.cos(t - 0.6) * 20 - x) + "px " + (Math.sin(t - 0.2) * 20 - y) + "px #a6c91a,"
//-16px 16px #1ac95a, + (Math.cos(t - 0.8) * 20 - x) + "px " + (Math.sin(t - 0.2) * 20 - y) + "px #1ac95a,"
//-20px 20px #1a60c9`; + (Math.cos(t - 1.0) * 20 - x) + "px " + (Math.sin(t - 0.2) * 20 - y) + "px #1a60c9";
// loop // loop
requestAnimationFrame(update); requestAnimationFrame(update);