This commit is contained in:
awesomeuser 2023-07-07 20:31:39 +00:00
parent 2c3f26b056
commit 236404869c

View file

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