1
0

Refactor glow animation in animeCat.js

This commit is contained in:
2025-05-26 07:51:35 +02:00
parent e42d08658e
commit 3d71cf9504

View File

@@ -199,16 +199,12 @@ animateCatGlow(commitCount) {
const size = minSize + sizeFactor * (maxSize - minSize);
// Styles setzen
glow.style.width = `${size}px`;
glow.style.height = `${size}px`; // immer Kreis!
glow.style.opacity = opacity;
glow.style.background = `radial-gradient(
circle,
ellipse at 50% 50%,
rgba(${r},${g},${b},0.97) 0%,
rgba(${r},${g},${b},0.35) 70%,
rgba(${r},${g},${b},0.24) 70%,
rgba(0,0,0,0) 100%
)`;
}
// Bubble für Animation absolut an Position der Katze anheften
_positionBubbleDetached() {