mirror of
https://github.com/Floriansylvain/WhateverWebGPU.git
synced 2026-08-19 11:43:26 +02:00
30 lines
687 B
HTML
30 lines
687 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/webgpu.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Whatever WebGPU</title>
|
|
</head>
|
|
<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>
|