-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
64 lines (46 loc) · 2.28 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
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AI Duet 3D</title>
<link href="https://fonts.googleapis.com/css?family=Didact+Gothic|Sawarabi+Gothic&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="css/bounce.css">
<!-- TODO: import THREE as module -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/104/three.min.js"></script>
<script src="vendor/Cannon/cannon.min.js"></script>
<script src="vendor/Cannon/CannonDebugRenderer.js"></script>
<!-- For Generative Drum Beats: https://gogul09.github.io/software/creating-intelligent-music-applications-in-the-browser -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@magenta/[email protected]/dist/magentamusic.min.js"></script>
<!-- <script src="https://cdn.rawgit.com/mattatz/THREE.Fire/master/FireShader.js"></script>
<script src="https://cdn.rawgit.com/mattatz/THREE.Fire/master/Fire.js"></script> -->
</head>
<body>
<div id="controls-container" class="">
<div class="toggle-wrapper">
<button id="settings-toggle-btn" class="btn hidden-active"><i class="fa fa-cog" aria-hidden="true"></i></button>
</div>
<section id="settings-container" class="hidden">
<button type="button" class="btn btn-light" id="btn-drums-1"><span class="fa fa-headphones" aria-hidden="true"></span>Drum Loop</button>
<div class="play-wrapper">
<a class="play"></span>Stop</a>
</div>
</section>
</div>
<div id="legend-container" class="animate-in">
<div class="legend">
<ul>
<li><span class="symbol" style="background-color: #64b5f6"></span><p>HUMAN</p></li>
<li><span class="symbol" style="background-color: #ED4A82"></span><p>AI <span id="machine-state"></span></p></li>
</ul>
</div>
</div>
<div id="machine-data"></div>
<!-- <div id="logo-container" class="animate-in">
<div class="logo">
<img src="assets/ai_robot_1.jpeg" alt="robot logo"></img>
</div>
</div> -->
<script src="dist/bundle.js"></script>
</body>
</html>