forked from vitling/autotracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
167 lines (147 loc) · 4.58 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!--Copyright 2020 David Whiting-->
<!--This work is licensed under a Creative Commons Attribution 4.0 International License-->
<!--https://creativecommons.org/licenses/by/4.0/-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>AutoTracker</title>
<!-- <script type="text/javascript" src="dist/tracker.js"></script>-->
<script type="module" src="target/tracker.js"></script>
<!-- <link rel="icon" type="image/png" href="images/icon.png">-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="AutoTracker" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.vitling.xyz/toys/autotracker" />
<meta property="og:image" content="https://www.vitling.xyz/toys/autotracker/preview.png" />
<meta property="og:description" content="An endless randomised algorithmic Chiptune composition by Vitling aka Demoscene Time Machine" />
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
<style type = "text/css">
.note {
display:block;
border-top: 1px dotted #444444;
margin-bottom: -2px;
height: 1em;
overflow: hidden;
max-width: 14ch;
padding-left: 1ch;
padding-right: 1ch;
margin-left:auto;
margin-right:auto;
}
.note:nth-of-type(4n+1) {
border-top: 1px dotted darkred;
}
.note:nth-of-type(16n+1) {
border-top: 1px solid darkorange;
}
#display {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
background-color: #222222;
}
#display .columns {
display:flex; width: 100%; justify-content: space-evenly;
}
#display .header {
font-size: 2em;
text-align: center;
}
#display a.save-string {
color: #ef6dea;
}
#display code {
font-family: "VT323", monospace;
font-size: 1em;
width:20%;
}
body {
font-family: "VT323", monospace;
background-color: #000000;
color: #6699FF;
}
header {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
font-size: 16pt;
text-align: center;
}
h1 {
font-family: "VT323", monospace;
letter-spacing: 1ch;
font-size:4em;
margin:0;
}
@media(max-width: 1000px) {
h1 {
letter-spacing: 0.5ch;
font-size:3em;
}
}
@media(max-width: 700px) {
h1 {
font-size: 2em;
letter-spacing: 0.5ch;
}
header {
font-size: 14pt;
}
}
h3 {
height: 1.2em;
margin:0;
}
.auto {
color: darkorange;
}
.tracker {
color: #ef6dea;
}
#seed-entry {
font-size:14pt;
text-align: center;
margin: 100px auto;
}
#seed-entry input,button {
background-color: black;
color: darkorange;
font-family: "VT323", monospace;
}
#seed-entry input {
font-size:16pt;
border: 2px solid #6699FF;
}
#seed-entry button {
border: 2px solid #6699FF;
font-size: 32pt;
}
h3 {
text-align: center;
font-size: 2em;
}
a {
color: white;
}
p {
margin: 0;
}
</style>
</head>
<body>
<header>
<h1><span class="auto">AUTO</span><span class="tracker">TRACKER</span></h1>
<p>An endless randomised algorithmic Chiptune composition by <a href="https://www.vitling.xyz">Vitling</a> aka <a href="https://demoscenetimemachine.com/album/gravity">Demoscene Time Machine</a></p>
<p>Expect much better results with Firefox, Chrome or Opera, because they follow the WebAudio standard much better than Safari</p>
<p><a href="https://github.com/DavW/autotracker">Source Code</a></p>
</header>
<div id="display">
<div id="seed-entry">
Enter Seed: <input autofocus id="seed-text" type="text" placeholder="word or phrase or savecode" size="30">
or leave blank for random<br><br>
<button id="start">Start</button>
</div>
</div>
</body>
</html>