From 8acee728ceb6d3fcce77e6083d38c98affa20453 Mon Sep 17 00:00:00 2001
From: WebMoneyMaker <103347453+LetsWorkAround@users.noreply.github.com>
Date: Wed, 21 Aug 2024 18:26:38 +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 b0040ec..2a30981 100644
--- a/index.html
+++ b/index.html
@@ -514,7 +514,7 @@
레드판다스컴퍼니 주식회사 (Red Pandas Company)
}
function updateData() {
- const newTime = data[data.length - 1].time + 1;
+ const newTime = data[data.length - 1].time + 5;
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, 10000);
+ setInterval(animate, 1000);
})();