-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (45 loc) · 1.08 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
<html>
<style>
input[type="range"] {
-webkit-appearance: none;
width: 25%;
height: 15px;
border-radius: 10px;
background: grey;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: rgb(31, 147, 242);
cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
width: 25px;
height: 25px;
border-radius: 50%;
background: rgb(31, 147, 242);
cursor: pointer;
}
p {
font-family: 'Trebuchet MS';
color: white;
text-align: center;
}
</style>
<head>
<script src="https://cdn.jsdelivr.net/npm/p5@1.9.3/lib/p5.js"></script>
<script src="dsp.js"></script>
<script src="sketch.js"></script>
</head>
<body style="background-color: #2d2d2d;">
<br>
<div id="sketch-container"></div>
</body>
</html>