-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (52 loc) · 1.43 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Lab3</title>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'"
/>
<meta
http-equiv="X-Content-Security-Policy"
content="default-src 'self'; script-src 'self'"
/>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="control-panel">
<div>
<button id="js-clear">Clear</button>
<button id="js-start">Start Algorithm</button>
</div>
<div style="display: flex; flex-direction: column;">
<div style="display: flex; flex-direction: row;">
Line Point 1:
<label for="js-x1">x:</label>
<input id="js-x1"></input>
<label for="js-y1">y:</label>
<input id="js-y1"></input>
</div>
<div style="display: flex; flex-direction: row;">
Line Point 2:
<label for="js-x2">x:</label>
<input id="js-x2"></input>
<label for="js-y2">y:</label>
<input id="js-y2"></input>
</div>
<div style="display: flex; flex-direction: row;">
Circle
<label for="js-x">x:</label>
<input id="js-x"></input>
<label for="js-y">y:</label>
<input id="js-y"></input>
<label for="js-r">r:</label>
<input id="js-r"></input>
</div>
</div>
</div>
<canvas id="js-canvas" width="1000" height="1000"></canvas>
<script src="./dist/renderer.js"></script>
</body>
</html>