-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·53 lines (42 loc) · 1.81 KB
/
index.html
File metadata and controls
executable file
·53 lines (42 loc) · 1.81 KB
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
<!DOCTYPE html>
<html>
<!--<script src="node_modules/socket.io/node_modules/socket.io-client/socket.io/socket.io.js"></script>-->
<link rel="stylesheet" type="text/css" href="gg/css/style.css">
<script type="text/javascript" src="gg/jquery-2.1.4.min.js"></script>
<script src="gg/libraries/p5.js" type="text/javascript"></script>
<!-- Uncomment the lines below to include extra p5 libraries -->
<script src="gg/libraries/p5.dom.js" type="text/javascript"></script>
<script src="gg/libraries/p5.sound.js" type="text/javascript"></script>
<script src="gg/firebase.js"></script>
<script type="text/javascript" src="gg/Particle.js"></script>
<script type="text/javascript" src="gg/ParticleSystem.js"></script>
<script src="gg/sketch.js" type="text/javascript"></script>
<script>
// open a connection to the serial server:
//var socket = io.connect('http://localhost:8080');
/* var socket = io.connect('http://localhost:8080');
// when you get a serialdata event, do this:
socket.on('serialEvent', function (data) {
// you're going to move the div in the HTML:
//var element = document.getElementById('textDisplay');
//element.style.position = "absolute"; // set the positioning style
//element.style.left = data.name+ "px"; // set the left edge of the text
//element.style.top = data.y+ "px"; // set the top edge of the text
//element.style.fontSize = data.z + "%"; // set the size of the text
//element.innerHTML = data.name + "," + data.y + ","+ data.z; // set the text itself
if(data.name == '2'){
player1GripInput();
//touchInput();
}
if(data.name == '1'){
player1GripInput();
//gripInputP1();
//touchInput();
}
});*/
//console.log(localStorage.companyRanking);
</script>
</head>
<body>
</body>
</html>