From 88f5acdb59b44490b4553148a880958c6143147d Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Sat, 4 Jul 2026 23:24:02 +0800 Subject: [PATCH] =?UTF-8?q?chore(HTML):=20=E6=9B=B4=E6=96=B0=20audio-visua?= =?UTF-8?q?lization/3.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HTML/audio-visualization/3.html | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/HTML/audio-visualization/3.html b/HTML/audio-visualization/3.html index 0be6474..8b979bc 100644 --- a/HTML/audio-visualization/3.html +++ b/HTML/audio-visualization/3.html @@ -205,17 +205,6 @@ margin: 0 4px; } - /* 震动效果 */ - .shake { - animation: shake 0.15s ease-out; - } - - @keyframes shake { - 0%, 100% { transform: translate(0, 0); } - 25% { transform: translate(-3px, 2px); } - 50% { transform: translate(2px, -3px); } - 75% { transform: translate(-2px, -1px); } - } @@ -738,12 +727,6 @@ hue: hue })); } - - // 屏幕微震 - if (bass > 0.5) { - document.body.classList.add('shake'); - setTimeout(() => document.body.classList.remove('shake'), 150); - } } // 更新和绘制流星