-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
executable file
·61 lines (51 loc) · 1.3 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
<!DOCTYPE HTML>
<html>
<head>
<!-- autogenerated css links -->
<!-- bower:css -->
<!-- endbower -->
<!-- autogenerated javascript links -->
<!-- bower:js -->
<!-- endbower -->
<script src="all.js"></script>
<style>
body {
margin: 10px;
padding: 10px;
}
canvas {
border: 1px solid red;
}
svg {
border: 1px solid blue;
background-color:lightgray;
}
pre {
border: 1px solid green;
}
form input[type='number']{
width:40px;
}
form input{
margin-right: 20px;
}
</style>
</head>
<body>
<form class="well span12" onsubmit="">
<label>Row Frequency:<input id="row-freq" type="number"/></label>
<label>Column Frequency:<input id="col-freq" type="number"/></label>
<label>Wiggle:<input id="wiggle" type="text"/></label>
<label>Image:<input id="image-name" type="text" />
<button id="process">Load</button>
</label>
</form>
<canvas id="my-canvas" width="300" height="200"></canvas>
<svg id="my-svg" width="500" height="400" viewBox="0 0 150 275"
preserveAspectRatio="xMinYMin slice">
<polyline fill="none" stroke="gray" stroke-width="0.1"
points="0,0 10,0"></polyline>
</svg>
<pre id="my-gcode">Gcode here</pre>
</body>
</html>