-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
155 lines (145 loc) · 6.68 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Gummi Engine</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
.point {
position: absolute;
width: 30px;
height: 30px;
}
</style>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.min.css" />
</head>
<body>
<a class="github-fork-ribbon hidden-xs" href="https://github.com/0xFEEDC0DE64/Gummi-Engine" title="Fork me on GitHub">Fork me on GitHub</a>
<div class="container">
<div class="page-header">
<h1>Gummi Engine</h1>
</div>
<div class="row">
<div class="col-lg-4">
<fieldset>
<legend>Konstanten:</legend>
<form class="form-horizontal">
<div class="form-group">
<label for="input_deltat">DELTAT:</label>
<div class="input-group">
<input type="range" id="input_deltat" class="form-control" value=".01" min="-2" max="2" step=".0001" aria-describedby="display_deltat" />
<span id="display_deltat" class="input-group-addon"></span>
</div>
</div>
<div class="form-group">
<label for="input_seglen">SEGLEN:</label>
<div class="input-group">
<input type="range" id="input_seglen" class="form-control" value="10" min="-10" max="20" step=".1" aria-describedby="display_seglen" />
<span id="display_seglen" class="input-group-addon"></span>
</div>
</div>
<div class="form-group">
<label for="input_springk">SPRINGK:</label>
<div class="input-group">
<input type="range" id="input_springk" class="form-control" value="10" min="-10" max="20" step=".1" aria-describedby="display_springk" />
<span id="display_springk" class="input-group-addon"></span>
</div>
</div>
<div class="form-group">
<label for="input_mass">MASS:</label>
<div class="input-group">
<input type="range" id="input_mass" class="form-control" value="1" min="-2" max="2" step=".01" aria-describedby="display_mass" />
<span id="display_mass" class="input-group-addon"></span>
</div>
</div>
<div class="form-group">
<label for="input_gravity">GRAVITY:</label>
<div class="input-group">
<input type="range" id="input_gravity" class="form-control" value="50" min="-10" max="100" step=".1" aria-describedby="display_gravity" />
<span id="display_gravity" class="input-group-addon"></span>
</div>
</div>
<div class="form-group">
<label for="input_resistance">RESISTANCE:</label>
<div class="input-group">
<input type="range" id="input_resistance" class="form-control" value="10" min="-10" max="50" step=".1" aria-describedby="display_resistance" />
<span id="display_resistance" class="input-group-addon"></span>
</div>
</div>
<div class="form-group">
<label for="input_stopvel">STOPVEL:</label>
<div class="input-group">
<input type="range" id="input_stopvel" class="form-control" value=".1" min="-2" max="2" step=".001" aria-describedby="display_stopvel" />
<span id="display_stopvel" class="input-group-addon"></span>
</div>
</div>
<div class="form-group">
<label for="input_stopacc">STOPACC:</label>
<div class="input-group">
<input type="range" id="input_stopacc" class="form-control" value=".1" min="-2" max="2" step=".001" aria-describedby="display_stopacc" />
<span id="display_stopacc" class="input-group-addon"></span>
</div>
</div>
<div class="form-group">
<label for="input_bounce">BOUNCE:</label>
<div class="input-group">
<input type="range" id="input_bounce" class="form-control" value=".75" min="-2" max="10" step=".001" aria-describedby="display_bounce" />
<span id="display_bounce" class="input-group-addon"></span>
</div>
</div>
</form>
</fieldset>
</div>
<div class="col-lg-2">
<fieldset>
<legend>Kollisionen:</legend>
<table>
<tr>
<td></td>
<td><input type="checkbox" id="input_collisionUp" checked /></td>
<td></td>
</tr>
<tr>
<td><input type="checkbox" id="input_collisionLeft" checked /></td>
<td></td>
<td><input type="checkbox" id="input_collisionRight" checked /></td>
</tr>
<tr>
<td></td>
<td><input type="checkbox" id="input_collisionDown" checked /></td>
<td></td>
</tr>
</table>
</fieldset>
</div>
<div class="col-lg-6">
<fieldset>
<legend>Segmente:</legend>
<button id="button_add" class="btn btn-primary"><i class="glyphicon glyphicon-plus"></i> Hinzufügen</button>
<button id="button_rainbow" class="btn btn-success"><i class="glyphicon glyphicon glyphicon-tint"></i> Regenbogen</button>
<table class="table table-striped table-condensed">
<thead>
<tr>
<th>ID</th>
<th>Position</th>
<th>Geschwindigkeit</th>
<th>Farbe</th>
<th>Aktionen</th>
</tr>
</thead>
<tbody id="table_entities"></tbody>
</table>
</fieldset>
</div>
</div>
</div>
<footer class="container">
<img src="http://simplehitcounter.com/hit.php?uid=2210505&f=16777215&b=0" />
</footer>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="script.js"></script>
</body>
</html>