forked from ondras/fireworks-webgl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (49 loc) · 1.64 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>WebGL + Web Audio API = Fireworks</title>
<script src="js/gl-matrix-min.js"></script>
<script src="js/camera.js"></script>
<script src="js/program.js"></script>
<script src="js/particleset.js"></script>
<script src="js/stars.js"></script>
<script src="js/explosion.js"></script>
<script src="shaders/particleset.js"></script>
<script src="shaders/points.js"></script>
<script src="js/jukebox.js"></script>
<script src="js/render.js"></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="info">
<a target="_blank" href="http://ondras.zarovi.cz/">Ondřej Žára</a>
/ Happy New 2015 /
<a target="_blank" href="https://github.com/ondras/fireworks-webgl">GitHub</a>
</div>
<div id="banner"></div>
<div id="jukebox">
<input type="radio" name="mode" value="url" id="mode-url" />
<label for="mode-url">Custom URL</label>
<input type="radio" checked="checked" name="mode" value="playlist" id="mode-playlist" />
<label for="mode-playlist">Built-in playlist</label>
<input type="radio" name="mode" value="file" id="mode-file" />
<label for="mode-file">Custom local file</label>
<form id="playlist">
<button id="prev">◄</button>
<span id="current"></span>
/
<span id="total"></span>
<button id="next">►</button>
</form>
<form id="url">
The resource must be served with proper CORS headers.<br/>
<input type="text" size="40" placeholder="Enter song URL" />
<input type="submit" value="Play" />
</form>
<form id="file">
<input type="file" />
</form>
</div>
</body>
</html>