From d9de4fdcf9eda112c7db27ef9be021c32db3bdcf Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 07:38:30 +0200 Subject: [PATCH] Improve radial gradient in animeCat.js --- animeCat.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/animeCat.js b/animeCat.js index 0ceabff..2917391 100644 --- a/animeCat.js +++ b/animeCat.js @@ -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