-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·90 lines (83 loc) · 1.95 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head>
<title>GOMI</title>
<script src="lib/p5.min.js"></script>
<script src="lib/p5.sound.min.js"></script>
<!-- also look into tone.js library -->
<script src="js/Envelope.js"></script>
<script src="js/Canvas.js"></script>
<script src="js/Cell.js"></script>
<script src="js/sketch.js"></script>
<style>
@font-face {
font-family: roboto;
src: url(Share_Tech_Mono/ShareTechMono-Regular.ttf);
}
* {
font-family: roboto;
}
body {
background-color: black;
}
.p5-slider-container {
width: 100%;
display: flex;
justify-content: center;
margin-top: 20px;
}
/* Target the slider input element */
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: #eee;
height: 1px;
width: 50px;
border-radius: 4px;
outline: none;
}
/* Target the slider thumb */
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 8px;
height: 8px;
background: #ffffff;
border-radius: 50%;
cursor: pointer;
}
button {
background-color: #eee;
border: none;
color: black;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
min-width: 230px;
}
button:hover {
background-color: black;
border: 1px solid white;
color: white;
}
/* input[type="radio"] {
display: none;
} */
label.radio {
display: block;
}
/* #my-canvas {
display: block;
width: 80%;
height: 80%;
margin: auto;
} */
</style>
</head>
<body>
</body>
</html>