This repository has been archived by the owner on May 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (83 loc) · 4.02 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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="bootstrap-5.0.0-beta1-dist/css/bootstrap.min.css" rel="stylesheet">
<title>Map Generator</title>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-8">
<div id="drawing-container">
<canvas id="drawing-area" width="1200" height=1000></canvas>
</div>
</div>
<div class="col-4">
<div class="border-main border-width-3" id="config-panel">
<fieldset>
<legend>
Paramètres d'affichage
</legend>
<label>Rows: </label>
<input id="row" type="number" class="form-control w-25 mb-2" name="row" minlength="1" maxlength="8" size="8" min=1 value="119">
<label>Columns: </label>
<input id="columns" type="number" class="form-control w-25 mb-2" name="columns" max="42" size="8" min=1 value="42">
<input id="generate" type="button" class="btn btn-outline-primary" value="Generer"/>
</fieldset>
<fieldset>
<br><legend>Global Control</legend>
<label>Fréquence :</label>
<input id="frequency" type="range" class="form-control w-75 mb-2" name="freq" min=0 value="2" max="8" step="0.5">
<label>Rivière :</label>
<input id="riverCheckBox" type="checkbox" checked/>
</fieldset>
<fieldset>
<br><legend>Smoother</legend>
<label class="mt-2">Température :</label>
<input id="temperatureSlider" type="range" class="form-control w-75 mb-2" name="temp" min=0 value="2" max="4" step="0.5">
<label class="mt-2">Elévation :</label>
<input id="elevationSlider" type="range" class="form-control w-75 mb-2" name="elevation" min=0 value="2" max="4" step="0.5">
<label class="mt-2">Humidité :</label>
<input id="humiditeSlider" type="range" class="form-control w-75 mb-2" name="humid" min=0 value="2" max="4" step="0.5">
</fieldset>
<fieldset>
<br><legend>île</legend>
<label>Ile : </label>
<input id="ileCheckBox" type="checkbox"/>
<label>Litoral : </label>
<input id="lito" type="checkbox" value="false"/>
<br>
<label class="mt-2">Taille île :</label>
<input id="ileSize" type="number" class="form-control w-25 mb-2" name="row" max=100 min=1 value=15>
</fieldset>
<fieldset>
<br><legend>Villes</legend>
<label>Villes : </label>
<input id="villes" type="checkbox" value="false"/>
<br>
<label>Fréquence : </label>
<input id="townFreq" type="range" class="form-control w-75 mb-2" min="0" max="0.005" step="0.0001"/>
</fieldset>
<fieldset>
<br><legend>Algo</legend>
<p>A venir en cours de dev</p>
</fieldset>
</div>
</div>
</div>
</div>
</body>
<script src="scripts/algos/perlin.js"></script>
<script src="scripts/algos/pathFinder.js"> </script>
<script src="scripts/model/MapDescriptor.js"></script>
<script src="scripts/Controller/Controller.js"></script>
<script src="scripts/model/class.js"></script>
<script src="scripts/Controller/MapDescriptorContorller.js"></script>
<script src="scripts/utils.js"></script>
<script src="src/liste_tuile.js"></script>
<script src="src/townList.js"></script>
<script src="scripts/view.js"></script>
<script src="scripts/algos/RiverMaker.js"></script>
<script src="scripts/model/ConfigurationDescriptor.js"></script>
</html>