-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (65 loc) · 3.84 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
<html>
<head>
<meta charset="UTF-8">
<!-- Set viewport for mobile devices -->
<meta name="viewport" content="width=device-width">
<!-- Meta information for Google -->
<meta name="author" content="Evan Gipson">
<meta name="description" content="jspixel is a lightweight pixel engine written in javascript.">
<!-- TODO: Picture for social media shares
<meta property="og:image" content="image here (absolute URL)" />
<link rel="image_src" type="image/png" href="image here (absolute URL)" /> -->
<!-- Google site verification for optimal search results
<meta name="google-site-verification" content="<google_verification_here>" /> -->
<!-- Website title -->
<title>jspixel</title>
<!-- TODO: Set the chart favicon
<link rel="shortcut icon" href="<favicon path>" /> -->
<!-- Yay let's link in my style -->
<!-- TODO: Minify style
<link rel="stylesheet" href="./src/css/style.css" media="none" onload="if(media!='all')media='all'" /> -->
<link rel="stylesheet" href="./src/css/style.css" />
<!--Import Google Icon Font-->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/css/materialize.min.css">
<!-- Google fonts look soOoOOO awesome
<link href="https://fonts.googleapis.com/css?family=Cormorant+Infant:400,700|Cormorant+Unicase:300,700" rel="stylesheet"> -->
<!-- Loading this here because controls need it below -->
<script src="./src/js/main.js"></script>
</head>
<body>
<span class="z-depth-3 edit-panel-button" id="editPanelButton" onclick="toggleEditingPanel()"><i class="medium material-icons">mode_edit</i></span>
<div id="editPanel" class="card horizontal controls">
<div class="card-content">
<span class="card-title">Options</span>
<span class="close-button" onclick="toggleEditingPanel()"><i class="material-icons">close</i></span>
<div style="clear: both;"></div>
<p class="follow-mouse" style="margin-bottom: 1rem;">
<input type="checkbox" id="followMouse" />
<label onclick="starSystem.toggleMouseFollow()" for="followMouse">Follow Mouse</label>
</p>
<p class="mouse-mass range-field">
<label for="mouseMass">Mouse Mass</label>
<input onchange="starSystem.updateMouseMass(this.value)" type="range" name="particleLimit" step="0.01" min="0.25" max="5.0" />
</p>
<p class="toggle-mute" style="margin-bottom: 1rem;">
<input type="checkbox" id="toggleMute" />
<label onclick="starSystem.toggleMute()" for="toggleMute">Mute</label>
</p>
<p class="range-field">
<label for="tailControl">Tail Length</label>
<input onchange="starSystem.updateParticleTail(this.value)" type="range" name="tailControl" step="1" min="0" max="40" />
</p>
<p class="range-field">
<label for="particleLimit">Particle Limit</label>
<input onchange="starSystem.updateParticleLimit(this.value)" type="range" name="particleLimit" step="5" min="0" max="300" />
</p>
</div>
</div>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"></script>
</body>
</html>