feat: add compute interval slider for dynamic interval adjustment

This commit is contained in:
Florian Sylvain
2025-04-06 04:27:15 +02:00
parent 69f1e7cdd9
commit 9d1327e9c5
3 changed files with 36 additions and 1 deletions
+15
View File
@@ -9,6 +9,21 @@
<body>
<canvas id="canvas" width="1024" height="1024"></canvas>
<p id="fps">FPS:</p>
<div>
<label for="compute-interval-slider"
>Compute Interval (ms):
<span id="compute-interval-value">100</span></label
>
<div>
<input
id="compute-interval-slider"
type="range"
min="1"
max="200"
value="100"
/>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>