From e249b734cce90a32e00a5b94ea17a3b5b5479aca Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 07:09:08 +0200 Subject: [PATCH] auto-git: [change] animeCat.js --- animeCat.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/animeCat.js b/animeCat.js index 61a7bb5..442e734 100644 --- a/animeCat.js +++ b/animeCat.js @@ -148,21 +148,6 @@ window.AnimeCat = class AnimeCat { this.container.appendChild(this.heartEmitter); } - // Zeigt Progress der täglichen Commits an - animateCatGlow(commitCount) { - const glow = this.glow; - if (!glow) return; - - const factor = Math.min(commitCount / 10, 1); - - const minSize = 80, maxSize = 170; - const size = minSize + factor * (maxSize - minSize); - - glow.style.width = `${size}px`; - glow.style.height = `${size * 0.66}px`; - glow.style.opacity = 0.2 + 0.8 * factor; - glow.style.background = `radial-gradient(circle, rgba(255,230,100,${0.7 + factor*0.3}) 0%, rgba(255,230,100,${0.10 + 0.5*factor}) 70%, rgba(0,0,0,0) 100%)`; - } // Bubble-Position absolut anpassen, wenn detached