-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (46 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P016N56HE4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-P016N56HE4');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Second Order Dynamics</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="follower"></div>
<div class="target"></div>
<div class="controls">
<div class="control-group">
<label>Frequency (f)</label>
<div class="input-row">
<input type="range" id="fSlider" min="0" max="10" step="0.1" value="2.5">
<input type="number" id="fInput" value="2.5" step="0.1" min="0">
</div>
</div>
<div class="control-group">
<label>Damping (z)</label>
<div class="input-row">
<input type="range" id="zSlider" min="0" max="2" step="0.05" value="0.65">
<input type="number" id="zInput" value="0.65" step="0.05" min="0">
</div>
</div>
<div class="control-group">
<label>Response (r)</label>
<div class="input-row">
<input type="range" id="rSlider" min="-2" max="2" step="0.05" value="1.0">
<input type="number" id="rInput" value="1.0" step="0.05">
</div>
</div>
</div>
<script src="vector2.js"></script>
<script src="dynamics.js"></script>
<script src="script.js"></script>
</body>
</html>