Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
LetsWorkAround authored Aug 21, 2024
1 parent 2f787a2 commit 8acee72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ <h3>레드판다스컴퍼니 주식회사 (Red Pandas Company)</h3>
}

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();
Expand Down Expand Up @@ -580,7 +580,7 @@ <h3>레드판다스컴퍼니 주식회사 (Red Pandas Company)</h3>
window.addEventListener('resize', resizeCanvas);
resizeCanvas();

setInterval(animate, 10000);
setInterval(animate, 1000);
})();
</script>
</body>
Expand Down

0 comments on commit 8acee72

Please sign in to comment.