mirror of
https://github.com/Floriansylvain/WhateverWebGPU.git
synced 2026-08-19 11:43:26 +02:00
feat: add compute interval slider for dynamic interval adjustment
This commit is contained in:
+15
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user