forked from ja-k-e/noise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (56 loc) · 1.69 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
<!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.0" />
<meta property="og:url" content="https://noise.jake.fun" />
<meta property="og:title" content="noise.jake.fun" />
<meta
property="og:description"
content="a synthesizer and visualizer using the web audio api."
/>
<meta property="og:image" content="https://noise.jake.fun/image.png" />
<meta property="og:image:url" content="https://noise.jake.fun/image.png" />
<title>noise.jake.fun</title>
<link rel="stylesheet" href="./app.css" />
<link rel="apple-touch-icon" sizes="76x76" href="/icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/icon.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/icon.png" />
<style>
html,
body {
height: 100%;
}
body {
background: black;
margin: 0;
overflow: hidden;
}
canvas {
display: block;
height: 100%;
width: 100%;
}
h1 {
color: white;
cursor: pointer;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 2rem;
font-style: italic;
font-weight: bold;
left: 50%;
position: fixed;
text-align: center;
top: 50%;
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<canvas></canvas>
<h1>tap anywhere</h1>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="app.js" type="module"></script>
</body>
</html>