-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (39 loc) · 1.59 KB
/
index.html
File metadata and controls
46 lines (39 loc) · 1.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sonic Particles</title>
<link rel="stylesheet" href="styles.css">
<script async src="https://unpkg.com/es-module-shims@1.8.0/dist/es-module-shims.js"></script>
</head>
<body>
<div id="controls">
<button id="toggleBtn">Play</button>
<button id="micBtn">Mic Mode</button>
</div>
<div id="noteDisplay"
style="position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: 24px; color: white; font-family: monospace;">
</div>
<a href="https://github.com/ore-codes"
style="position: fixed; bottom: 10px; right: 10px; color: rgba(255,255,255,0.3); text-decoration: none; font-family: monospace; font-size: 12px;"
onmouseover="this.style.color='rgba(255,255,255,0.6)'" onmouseout="this.style.color='rgba(255,255,255,0.3)'">
github
</a>
<a href="https://ore-codes.github.io"
style="position: fixed; bottom: 10px; right: 100px; color: rgba(255,255,255,0.3); text-decoration: none; font-family: monospace; font-size: 12px;"
onmouseover="this.style.color='rgba(255,255,255,0.6)'" onmouseout="this.style.color='rgba(255,255,255,0.3)'">
portfolio
</a>
<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three@0.161.0/build/three.module.js",
"jsm/": "https://cdn.jsdelivr.net/npm/three@0.161.0/examples/jsm/"
}
}
</script>
<script src="https://unpkg.com/tone"></script>
<script type="module" src="script.js"></script>
</body>
</html>