-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (28 loc) · 1.38 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>PancakeRobot </title>
<link rel='icon' href='favicon.ico' type='image/x-icon' />
<!--p5 libraries folder must be up one level from this html file-->
<!-- <script type="text/javascript" src="../libraries/p5.js"></script> -->
<!-- <script type = "text/javascript" src="objectToGcode.js"></script> -->
<link rel="stylesheet" type="text/css" href= "style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://apis.google.com/js/client.js"></script>
<!-- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.dom.js"></script> -->
<script type="text/javascript" src="https://cdnjs.cloudkflare.com/ajax/libs/p5.js/0.8.0/p5.js"></script>
<!--script used to turn pngs to svgs-->
<script type="text/javascript" src="potrace.js"></script>
<!--our own script should be in same folder as the html-->
<script type="text/javascript" src="sketch.js"></script>
</head>
<body>
<div class="Container">
<input type="file" id="imageforpancake" name="pCake" accept="image/png" class = "inpfile" onchange="readURL(this);" />
<br>
<img id="myImage" src="#" style="border:1px"/>
<input type="submit" id ="sub" onclick="download()" />
</div>
</body>
</html>