|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
<title>leapmotionProva1</title>
|
|
|
|
<!-- Bootstrap -->
|
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<link href="own.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
<!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
<body onload='OnLoadIndex()'>
|
|
|
|
<!--<div class='container'>
|
|
<h1>leapjs v2</h1>
|
|
<div id='output' class='panel panel-default'></div>
|
|
</div>-->
|
|
|
|
<div class='own-options' style='hidden:true;'>
|
|
num<br>total<br>Connect:<br>
|
|
<span id='idNumConnections' class='badge'>0</span><br>
|
|
<b>Options</b><br>
|
|
<div onclick='OnBtnClick(this.id)' id='o2btn' class='btn btn-success own-block'>o2</div>
|
|
<div onclick='OnBtnClick(this.id)' id='o3btn' class='btn btn-success own-block'>o3</div>
|
|
<div onclick='OnBtnClick(this.id)' id='o4btn' class='btn btn-success own-block'>o4</div>
|
|
<div onclick='OnBtnClick(this.id)' id='o5btn' class='btn btn-success own-block'>o5</div>
|
|
<div onclick='OnBtnClick(this.id)' id='o6btn' class='btn btn-success own-block'>o6</div>
|
|
<p id='btnSelected'></p>
|
|
</div>
|
|
<div id='msg' class='own-msg'>
|
|
|
|
</div>
|
|
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
<script src="js/bootstrap.min.js"></script>
|
|
</body>
|
|
<script src='https://js.leapmotion.com/leap-0.6.4.min.js'></script>
|
|
<script src="/socket.io/socket.io.js"></script>
|
|
|
|
<script src='leapController.js'></script>
|
|
<script src='comunication.js'></script>
|
|
<script src='movements.js'></script>
|
|
|
|
|
|
|
|
|
|
<script src="libraries/toastr.min.js"></script>
|
|
<link href="libraries/toastr.min.css" rel="stylesheet">
|
|
|
|
<script src="libraries/three.min.js"></script>
|
|
<script src="http://threejs.org/examples/js/loaders/OBJLoader.js"></script>
|
|
<script src="libraries/MTLLoader.js"></script>
|
|
|
|
<script src="scene3d.js"></script>
|
|
|
|
<script src='mouseController.js'></script>
|
|
|
|
<script src='options.js'></script>
|
|
</html>
|