1
0

Improve radial gradient in animeCat.js

This commit is contained in:
2025-05-26 07:38:30 +02:00
parent 5fca786254
commit d9de4fdcf9

View File

@@ -205,7 +205,12 @@ animateCatGlow(commitCount) {
glow.style.width = `${size}px`;
glow.style.height = `${size}px`; // immer Kreis!
glow.style.opacity = opacity;
glow.style.background = `radial-gradient(circle, rgba(${r},${g},${b},0.85) 0%, rgba(${r},${g},${b},0.14) 70%, rgba(0,0,0,0) 100%)`;
glow.style.background = `radial-gradient(
circle,
rgba(${r},${g},${b},0.97) 0%, // kräftiges Zentrum
rgba(${r},${g},${b},0.35) 70%, // weniger transparent am Rand
rgba(0,0,0,0) 100%
)`;
}
// Bubble für Animation absolut an Position der Katze anheften