From 31066a89069ad969ec50c984b890865a281ae649 Mon Sep 17 00:00:00 2001
From: WebMoneyMaker <103347453+LetsWorkAround@users.noreply.github.com>
Date: Wed, 21 Aug 2024 18:17:32 +0900
Subject: [PATCH] Update index.html
---
index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index f375936..918a055 100644
--- a/index.html
+++ b/index.html
@@ -515,7 +515,7 @@
레드판다스컴퍼니 주식회사 (Red Pandas Company)
function updateData() {
const newTime = data[data.length - 1].time + 1;
- const newValues = data[data.length - 1].values.map(v => Math.max(-20, Math.min(20, v + (Math.random() - 0.5) * 2)));
+ const newValues = data[data.length - 1].values.map(v => Math.max(-10, Math.min(10, v + (Math.random() - 0.5) * 2)));
data.push({ time: newTime, values: newValues });
if (data.length > dataPoints) data.shift();
}
@@ -580,7 +580,7 @@ 레드판다스컴퍼니 주식회사 (Red Pandas Company)
window.addEventListener('resize', resizeCanvas);
resizeCanvas();
- setInterval(animate, 1000);
+ setInterval(animate, 5000);
})();