-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
27 lines (24 loc) · 1.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Graphics Programming Sandbox</title>
</head>
<body>
<div id="guiDiv">
<div>Size of canvas : <input type="range" id="sizeOfCanvasSlider" min="150" max="800" value="300"></div>
<div>Number of workers : <input type="range" id="numberOfWorkersSlider" min="1" max="4" value="4"></div>
<div>Size of single worker: <input type="range" id="sizeOfSingleWorkerSlider" min="10" max="200" value="100"></div>
<div>Sample per pixels: <input type="range" id="samplesPerPixelSlider" min="5" max="50" value="5"></div>
<div>Max depth: <input type="range" id="maxDepthSlider" min="3" max="30" value="3"></div>
<div>
<table id="workersTable"></table>
</div>
<input type="button" id="renderButton" value="Render">
<canvas id="renderCanvas" width="300px"></canvas>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>