1
0

Reduce amplitude of opacity wave in animation

This commit is contained in:
2025-05-26 08:02:34 +02:00
parent 74db19885b
commit 76173b54ab

View File

@@ -163,7 +163,7 @@ window.AnimeCat = class AnimeCat {
let t = 0;
const loop = () => {
// Sanfte Wellen-Animation der Opazität
const phase = 0.92 + 0.3 * Math.sin(t);
const phase = 0.92 + 0.05 * 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.8;