1
0

Fine-tune glow animation increment

This commit is contained in:
2025-05-26 08:03:47 +02:00
parent 73beb97d83
commit 878e34d67b

View File

@@ -166,7 +166,7 @@ window.AnimeCat = class AnimeCat {
const phase = 0.92 + 0.2 * Math.sin(t);
this.glow.style.opacity = phase.toFixed(2);
// Wenn du magst: this.glow.style.filter = `blur(${10 + 2*Math.sin(t/2)}px)`;
t += 0.05;
t += 0.03;
this._glowWobbleId = requestAnimationFrame(loop);
};
loop();