From 00745d6cae09f24de8dfad416d359c93aa0c4c39 Mon Sep 17 00:00:00 2001 From: shvl Date: Tue, 6 Aug 2024 18:51:07 +0200 Subject: [PATCH] Update index.html --- index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.html b/index.html index 25399db..0c810a3 100644 --- a/index.html +++ b/index.html @@ -38,10 +38,7 @@

😎

let blurValue = 0; window.addEventListener("deviceorientation", function (event) { const value = Math.abs(((event.beta - 90) / 180) * 20); - if (Date.now() - lastUpdate > 200) { - lastUpdate = Date.now(); - textElement.style.filter = `blur(${value}px)`; - } + textElement.style.filter = `blur(${value}px)`; }); document.querySelector("button").addEventListener("click", () => {