-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (66 loc) · 3.16 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A computational model of the invasion of a exotic species">
<meta name="keywords" content="Teaching, Biology, Ecology, Exotic Invasive Species">
<meta name="author" content="Semidán Robaina Estévez">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Especies Exóticas Invasoras</title>
<link rel="icon" type="image/png" sizes="32x32" href="imgs/glauca.png">
<script src="libs/p5.min.js"></script>
<script src="libs/p5.dom.min.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="libs/fontawesome_all.min.css">
</head>
<!-- <body onclick="updateScreenEvent()" ontouchcancel="updateScreenEvent()" onresize="updateSize()"> -->
<body>
<div class="background_image" id="title-container">
<div id="title">Invasión en el Cardonal-Tabaibal</div>
</div>
<div class="centering_container">
<div id="cnv_container"></div>
<div class="plot_controls_container">
<div id="plot_container"></div>
<div class=" centering_container" id="controls_container">
<div class="control_group">
<div class="slider_container">
<div class="slider_name">N<sub>init</sub></div>
<input class="slider" id="ninit_slider" type="range" min="0" max="10" value="1" step="1" onchange="updateNinitSliderText(this.value);">
<div class="slider_value" id="ninit_slider_text">1</div>
</div>
<div class="slider_container">
<div class="slider_name">Dispersión máxima</div>
<input class="slider" id="dispersal_slider" type="range" min="1" max="10" value="1" step="1" onchange="updateDispersalSliderText(this.value);">
<div class="slider_value" id="dispersal_slider_text">1</div>
</div>
</div>
<div class="control_group">
<div class="slider_container">
<div class="slider_name">Producción máxima semillas</div>
<input class="slider" id="seed_production_slider" type="range" min="100" max="1000" value="200" step="100" onchange="updateSeedProductionSliderText(this.value);">
<div class="slider_value" id="seed_production_slider_text">200</div>
</div>
<div class="slider_container">
<div class="slider_name">Eficiencia reproductiva</div>
<input class="slider" id="rep_eficiency_slider" type="range" min="0" max="1" value="0.1" step="0.05" onchange="updateRepEficiencySliderText(this.value);">
<div class="slider_value" id="rep_eficiency_slider_text">0.1</div>
</div>
</div>
<div class="control_group" id="button-controls">
<button class="button" id="start-button" onclick="startSimulation()"><i class="fas fa-play"></i></button>
<button class="button" id="reset-button" onclick="resetSimulation()"><i class="fas fa-undo"></i></button>
</div>
</div>
</div>
</div>
<div class="centering_container" id="footer_container">
<footer>
<p><a><</a> <a>></a> by <a href="https://semidanrobaina.com">Semidán Robaina Estévez</a>, 2021</p>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>