Fine-tune glow animation increment
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user