-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (36 loc) · 1 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
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>p5.js example</title>
<style>
body {
padding: 0;
margin: 0;
}
</style>
<script src="p5.js"></script>
<!-- <script src="../addons/p5.sound.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<script src="sketch.js"></script>
</head>
<body>
<button id="save" onclick="save_img();">save</button>
<button id="clear" onclick="clearCanvas();">clear</button>
<button id="print1" onclick="print_data1();">print1</button>
<button id="print2" onclick="print_data2();">print2</button>
<button id="compute" onclick="compute();">compute</button>
<button id="cmp" onclick="cmp();">cmp</button>
<div id="c1">
</div>
<div id="c2">
</div>
<img id="img1" src="square.jpg">
<img id="img2" src="square3.jpg">
<canvas id="canvas2">
</canvas>
<main>
</main>
</body>
</html>