-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
220 lines (204 loc) · 6.28 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!-- MIT licence (see licence.txt). D Czech 2019. -->
<!DOCTYPE html>
<html>
<head>
<meta charset = "UTF-8">
<meta name = "viewport" content = "width = device-width, initial-scale = 1">
<link rel = "stylesheet" href = "css/styles.css">
<script type="text/javascript" src="js/index.js"></script>
</head>
<h1> The Drake Equation: </h1>
<h2> Estimate the number of communicative extraterrestrial civilisations in our galaxy</h2>
<body bgcolor = "black" onload = "initSession()">
<table class = "full" align="center">
<tr class = "largeTerm" align = "center">
<td id = "N">
N<sub></sub>
</td>
<td>
=
</td>
<td>
R<sub>*</sub>
</td>
<td>
∙
</td>
<td>
f<sub>p</sub>
</td>
<td>
∙
</td>
<td>
n<sub>e</sub>
</td>
<td>
∙
</td>
<td>
f<sub>l</sub>
</td>
<td>
∙
</td>
<td>
f<sub>i</sub>
</td>
<td>
∙
</td>
<td>
f<sub>c</sub>
</td>
<td>
∙
</td>
<td>
L
</td>
<td>
</td>
<td>
<button type = "button" class = "button-main" onclick = "javascript:submitTerms()">Submit!</button>
</td>
</tr>
<tr class = "largeNum" align = "center">
<td>
<span id = "NVal"></span>
</td>
<td>
</td>
<td>
<span id = "RstarVal"></span>
<div id = "Rstar" class = "slideContainer">
<input type = "range" step = "0.1" min = "0" max = "10" value = "5" class = "slider" id = "RstarIn">
</div>
</td>
<td>
</td>
<td>
<span id = "FpVal"></span>
<div id = "Fp" class = "slideContainer">
<input type = "range" step = "0.01" min = "0" max = "1" value = "0.5" class = "slider" id = "FpIn">
</div>
</td>
<td>
</td>
<td>
<span id = "NeVal"></span>
<div id = "Ne" class = "slideContainer">
<input type = "range" step = "0.01" min = "0" max = "5" value = "2.5" class = "slider" id = "NeIn">
</div>
</td>
<td>
</td>
<td>
<span id = "FlVal"></span>
<div id = "Fl" class = "slideContainer">
<input type = "range" step = "0.01" min = "0" max = "1" value = "0.5" class = "slider" id = "FlIn">
</div>
</td>
<td>
</td>
<td>
<span id = "FiVal"></span>
<div id = "Fi" class = "slideContainer">
<input type = "range" step = "0.01" min = "0" max = "1" value = "0.5" class = "slider" id = "FiIn">
</div>
</td>
<td>
</td>
<td>
<span id = "FcVal"></span>
<div id = "Fc" class = "slideContainer">
<input type = "range" step = "0.01" min = "0" max = "1" value = "0.5" class = "slider" id = "FcIn">
</div>
</td>
<td>
</td>
<td>
<span id = "LVal"></span>
<div id = "L" class = "slideContainer">
<input type = "range" step = "0.5" min = "1" max = "100" value = "50" class = "slider" id = "LIn">
</div>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
<div class = "info">
<div id = "NInfo" class="description">
<p class = "smallText">
N: The number of civilisations in our galaxy with which communication might be possible.
</p>
</div>
<div id = "RstarInfo" class="description">
<p class = "smallText">
R<sub>*</sub>: The average rate of star formation in our galaxy.
</p>
</div>
<div id = "FpInfo" class="description">
<p class = "smallText">
f<sub>p</sub>: The fraction of stars which have planets.
</p>
</div>
<div id = "NeInfo" class="description">
<p class = "smallText">
n<sub>e</sub>: The average number of potentially life-supporting planets per star which has planets.
</p>
</div>
<div id = "FlInfo" class="description">
<p class = "smallText">
f<sub>l</sub>: The fraction of potentially life-supporting planets on which life does arise.
</p>
</div>
<div id = "FiInfo" class="description">
<p class = "smallText">
f<sub>i</sub>: The fraction of life-hosting planets on which intelligent life arises.
</p>
</div>
<div id = "FcInfo" class="description">
<p class = "smallText">
f<sub>c</sub>: The fraction of civilisations which exhibit a detectable technosignature.
</p>
</div>
<div id = "LInfo" class="description">
<p class = "smallText">
L: The length of time for which these civilisations exhibit a detectable technosignature.
</p>
</div>
</div>
<div class = "logos">
<table class = "footer" align = "center">
<tr align = "center">
<td style = "text-align: center">
<a href="https://breakthroughinitiatives.org/initiative/1">
<img src="img/breakthrough-listen-dark-transparent-background.png" style="margin:2%; width:50%;" />
</a>
</td>
<td style = "text-align: center">
<a href="https://seti.berkeley.edu">
<img src="img/BSRClogo.png" style="margin:2%; width:50%;" />
</a>
</td>
<td style = "text-align: center">
<par class = "finePrint">
<a href="https://github.com/danielczech">
D Czech,
</a>
<a href="http://creativecommons.org/licenses/by/4.0/">
CC BY 4.0,
</a>
<a href="https://www.spacetelescope.org/images/heic0719a/">
Background: NASA, ESA
</a>
</par>
</td>
</tr>
</table>
</div>
</body>
</html>