-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (65 loc) · 3.04 KB
/
index.html
File metadata and controls
73 lines (65 loc) · 3.04 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Bouncing Balls of Many Notes</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/styles.css">
<script src="js/app.js" type="text/javascript"></script>
<script src="js/modal.js" type="text/javascript"></script>
</head>
<body>
<div class="wrapper">
<div class="menu">
<h1>Settings</h1>
<div id="collapse">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</div>
<div id="menuInner" class="menu inactive">
<h2>Uptime: </h2>
<div class="slidercontainer">
<input type="range" class="slider" id="tIn" name="uptime" min="1" max="60" step="1" value="10" />
<label for="uptime" id="tOut"></label><br>
</div>
<h2>Duration: </h2>
<div class="slidercontainer">
<input type="range" class="slider" id="dIn" name="duration" min="0.1" max="5" step="0.1" value="1" />
<label for="duration" id="dOut"></label><br>
</div>
<h2>Volume: </h2>
<div class="slidercontainer">
<input type="range" class="slider" id="vIn" name="volume" min="0" max="50" step="1" value="10" list="tickmarks" />
<label for="volume" id="vOut"></label><br>
</div>
<div class="btnGroup">
<button id="reset" style="order: 1">Reset</button>
<button id="random" style="order: 2">Manual</button>
<button id="help" style="order: 3">Help</button>
</div>
</div>
</div>
<div class="content">
<canvas id="canvas"></canvas>
</div>
</div>
<!-- Instructions Modal -->
<div class="modal" id="helpModal">
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>Instructions</h2>
</div>
<div class="modal-body">
<p>Welcome to bouncy balls of many notes!<br/>In this app you can spawn balls that will make a sound depending on which of the eight edges of the window it hits.</p>
<p>To spawn a ball, click on the screen and drag the mouse in the direction you want it to go. The further you drag your mouse, the faster the ball will go.</p>
<h3>Settings:</h3>
<p>Uptime determines how long the ball will bounce around before it ceases to exist.<br/>Duration will determine the duration each note rings out.<br/>Finally, volume will determine the volume of the notes.<br/><i>Note: The settings are independent for each ball you spawn.</i></i></p>
</div>
<div class="modal-footer">
<br/>
</div>
</div>
</div>
</body>