-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (46 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en">
<header><title>Drawbot</title></header>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="header"><img src="vrs.png" alt="vrs logo" ></div>
<div>
Width:<input type="text" name="width">
Height:<input type="text" name="height">
<button onclick="setDimensions()">Set dimensions</button>
</div>
<div>
x:<input type="text" name="x">
y:<input type="text" name="y">
<button onclick="setOrigin()">Set origin</button>
</div>
<canvas id="doodle" width="340" height="480">
Your browser does not support the HTML5 canvas tag.
</canvas>
<button onclick="setPen()"><p id="penButton">Marker on</p></button>
<button onclick="submit()"><p id="submission">Submit doodle</p></button>
<button onclick="setrtc()"><p id="realtime">direct control</p></button>
<button onclick="download()"><p id="dlDoodle">download drawing</p></button>
<input type="checkbox" id="light">
<p id="start"></p>
<p id="pad"></p>
<!-- Trigger/Open The Modal -->
<button id="myBtn">Controller configuration</button>
<!-- The controller configuration window/modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<p>Controller configuration</p>
<button id="left" onclick="calibrateL()"></button>
<button id="right" onclick="calibrateR()"></button>
</div>
</div>
</body>
<script src="socket.io.js"></script>
<script src="submit.js"></script>
<script src="main.js"></script>
<script src="tests.js"></script>
</html>