-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (56 loc) · 2.92 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
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="theme-color" content="#efefef">
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico">
<title>Spiral</title>
<link rel="stylesheet" href="./style.css">
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdn.plot.ly/plotly-1.34.0.min.js"></script>
</head>
<body>
<div style="position: relative;">
<div class="miniature1" style="position: absolute; left: 5%; top: 15%">
<input type="radio" id = "miniature1" name = "radio" style="width:20px; height:20px">
<div id="miniSpiral1", style = "visibility: hidden;"></div>
<img id="png1" style="position: absolute; top: 6.5%; width:150px; height:150px;">
</div>
<div class="miniature2" style="position: absolute; left: 5%; top: 40%;">
<input type="radio" id = "miniature2" name = "radio" style="width:20px; height:20px">
<div id="miniSpiral2", style = "visibility: hidden;"></div>
<img id="png2" style="position: absolute; top: 6.5%; width:150px; height:150px;">
</div>
<div class="miniature3" style="position: absolute; left: 5%; top: 65%;">
<input type="radio" id = "miniature3" name = "radio" style="width:20px; height:20px">
<div id="miniSpiral3", style = "visibility: hidden;"></div>
<img id="png3" style="position: absolute; top: 6.5%; width:150px; height:150px;">
</div>
<h1 style="position: absolute; left: 35%; top: 2%;">Draw a spiral and click Analyze<br><span id="DOS" style="position: absolute; left: 50%; color: #15458d" ></span></h1>
<canvas touch-action="none" id="board" width="640" height="640" style="width:320px; height:320px;">
Spiral Analysis will not work with this browser.
</canvas>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<button class="button overlay" id="analyzeButton"
style="position: absolute; left: 60%; bottom: 1%; transform: translate(-50%, -50%);">
Analyze</button>
</a>
<button class="button overlay" id="clearButton"
style="position: absolute; left: 40%; bottom: 1%; transform: translate(-50%, -50%);">
</i>Clear</button>
<button class="button overlay" id="confirmButton"
style="position: absolute; left: 50%; bottom: 1%; transform: translate(-50%, -50%);">
</i>Confirm</button>
</div>
<!-- <label for="fname">First Name:</label>
<input type="text" id="fname" name="fname"
style=""> -->
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://cdn.jsdelivr.net/lodash/4.17.2/lodash.min.js"></script>
<script src="js/vendors/pep.js"></script>
<script src="js/libs/Board.js"></script>
<script src="js/libs/Pointer.js"></script>
<script src="js/libs/Pen.js"></script>
<script src="js/main.js"></script>
</body>
</html>