-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (53 loc) · 2.82 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="./css/style.css">
<script src="https://kit.fontawesome.com/fd1beb02b6.js" crossorigin="anonymous"></script>
<script src="./js/phaser.min.js"></script>
<script src="./js/index.js"></script>
<script src="./js/Scene1.js"></script>
<script src="./js/Boid.js"></script>
<script src="./js/app.js"></script>
</head>
<body>
<section class="title-source">
<h1>Boids 2D Implementation</h1>
<a target="_blank" href="https://github.com/lufemas/binary-tree-jr"><i class="fab fa-github"></i><strong>JR</strong>.maschietto </a>
</section>
<article class="settings-container">
<div id="align" class="behavior-settings">
<h3>Alignment</h3>
<section class="setting">
<label for="">Perception Distance:<span id="align-perception-distance-range-span"> 50</span>px</label>
<input type="range" min="1" max="100" value="50" class="slider" id="align-perception-distance-range">
</section>
<section class="setting">
<label for="">Intensity:<span id="align-intensity-range-span"> 10</span></label>
<input type="range" min="1" max="50" value="10" class="slider" id="align-intensity-range">
</section>
</div>
<div id="align" class="behavior-settings">
<h3>Cohesion</h3>
<section class="setting">
<label for="">Perception Distance:<span id="cohesion-perception-distance-range-span"> 75</span>px</label>
<input type="range" min="1" max="100" value="75" class="slider" id="cohesion-perception-distance-range">
</section>
<section class="setting">
<label for="">Intensity:<span id="cohesion-intensity-range-span"> 10</span></label>
<input type="range" min="1" max="50" value="10" class="slider" id="cohesion-intensity-range">
</section>
</div>
<div id="align" class="behavior-settings">
<h3>Separation</h3>
<section class="setting">
<label for="">Perception Distance:<span id="separation-perception-distance-range-span"> 25</span>px</label>
<input type="range" min="1" max="100" value="25" class="slider" id="separation-perception-distance-range">
</section>
<section class="setting">
<label for="">Intensity:<span id="separation-intensity-range-span"> 17</span></label>
<input type="range" min="1" max="50" value="17" class="slider" id="separation-intensity-range">
</section>
</div>
</article>
</body>
</html>