-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeremin.html
More file actions
75 lines (68 loc) · 2.09 KB
/
theremin.html
File metadata and controls
75 lines (68 loc) · 2.09 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap"
rel="stylesheet"
/>
<title>Web Audio Theremin</title>
<script src="build/components/bundle.js"></script>
<style>
body {
font-family: 'UnifrakturCook', cursive;
font-weight: 700;
font-style: normal;
background-color: #0b0b0f;
color: #f9f6ee;
height: 100vh;
background: #0b0b0f;
background: linear-gradient(
180deg,
rgba(11, 11, 15, 1) 0%,
rgba(5, 0, 25, 1) 100%
);
}
hr {
display: block;
}
h1 {
text-decoration: underline;
font-size: 2em;
}
#container {
display: flex;
flex-direction: column;
align-items: center;
align-content: center;
margin-right: 25vw;
margin-left: 25vw;
}
#theremin-container {
position: relative;
transform: translate(-300px);
}
/*
color_scheme = [
("Neon Pumpkin", "#FF6B00"),
("Void Black", "#0B0B0F"),
("Plasma Green", "#39FF14"),
("Ultraviolet Mist", "#8F00FF"),
("Cyber Web", "#00D9FF"),
("Specter Gray", "#5F6973")
]
*/
</style>
</head>
<body>
<div id="container">
<h1>Web Audio Theremin</h1>
<div id="theremin-container">
<theremin-instrument></theremin-instrument>
</div>
</div>
</body>
</html>