-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
208 lines (201 loc) · 6.59 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
<!doctype html>
<html lang='en'>
<head>
<title>Alexlune Simulador</title>
<meta charset="UTF-8">
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-53X57PN');</script>
<!-- End Google Tag Manager -->
<link rel="stylesheet" href="css/styles.css">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5666819138104337"
crossorigin="anonymous"></script>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-53X57PN"
height="0" width="0" style="display:none;visibility:hidden">
</iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<div id='header' class='flex margin30'>
<div>
<h1>Alexlune • Simulador de Lua (V.Alpha)</h1>
</div>
<div id='cred-lang' class='flex margin30'>
<div>
<p><a href='#about'>About</a></p>
</div>
<div class='pad50'>
<p>
<label for="language">Language</label>
<select id="language" class='oneline'>
<option value="portuguese">Português</option>
<option value="english">English</option>
<option value="french">Français</option>
<option value="spanish">Español</option>
</select>
</p>
</div>
</div>
</div>
<div id='big' class='border-solid flex margin30'>
<div id='left'>
<div id='maincan' class=''>
<svg id='first' width='600' height='600'>
<circle id='big-circle' cx='300' cy='300' r='200' stroke='yellow' stroke-width='5' fill='none' />
<circle id='sun' cx='-250' cy='300' r='300' fill='yellow'/>
<svg id='lua1' x='260' y='260'>
<g>
<path d=" M 40 80 A 40 40 90 0 1 40 00" fill='white'/>
<path d=" M 40 00 A 40 40 270 0 1 40 80" fill='gray' />
</g>
</svg>
</svg>
<div id='marcagrau'>
<p>Moon angle: <var id='posang'></var>º</p>
</div>
<div id='terra'>
<img id='terrain' src='img/terrapure.svg' width='100' height'120'></svg>
</div>
</div>
<div id='lebo' class='flex'>
<div id='leboleft' class='flex w60pc' >
<div class='border-solid w50pc pad20'>
<h3>Animation</h3>
<button id='animationController'>▶</button>
<label for 'speed'><p>🐎 〈 🐢 ༳ 🐢 〉 🐎</p></label>
<p><input type="range" id="speed" name="speed" min="-100" max="100" value='10'></p>
</div>
<div id='changeTime' class='border-solid w50pc'>
<span class='centerTXT'>
<h3 class='mgZERO-bottom'>Increment</h3>
</span>
<div class='flex' class='changeMenu' >
<div id='changeLabels' class='rightTXT w50pc'>
<p>day:<p>
<p>hour:</p>
<p>minute:</p>
</div>
<div id='changeButtons'>
<p>
<button onclick='Wheel.changeTime(1440)'>+</button>
<button onclick='Wheel.changeTime(-1440)'>-</button>
</p>
<p>
<button onclick='Wheel.changeTime(+60)'>+</button>
<button onclick='Wheel.changeTime(-60)'>-</button>
</p>
<p>
<button onclick='Wheel.changeTime(+1)'>+</button>
<button onclick='Wheel.changeTime(-1)'>-</button>
</p>
</div>
</div>
</div>
</div>
<div id='leboright' class='border-solid w40pc pad20'>
<h3>Diagram Options</h3>
<input type='checkbox'><label>show angle</label><br>
<input type='checkbox'><label>show lunar landmark</label><br>
<input type='checkbox'><label>show time tickmarks</label>
</div>
</div>
</div>
<div id='right' class='border-solid float-right'>
<div id='riup' class='border-solid pad50'>
<h2>Moon Phase</h2>
<div id='second' class='sec-img'>
<svg id='second-svg' width="150" height="150">
<mask id='sombramask'>
<circle cx="75" cy="75" r="50" stroke="gray" stroke-width="4" fill="white"/>
</mask>
<circle cx="75" cy="75" r="50" stroke="gray" stroke-width="4" fill="white"/>
<circle id='sombra' cx="-25" cy="75" r="50" stroke="none" stroke-width="4" fill="gray"/>
</svg>
</div>
<p><var id='lumus'></var>% illuminated </p>
<p>time since new moon:</p>
<p><span id='newmoon'>1 day; 0 hours</span></p>
<button onclick='indispo()'>Hide</button>
</div>
<div id='ribo' class='border-solid pad50'>
<h2>Horizon Diagram</h2>
<div id='third' class='sec-img'>
<svg width="100" height="100">
<circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
</svg>
</div>
<p>observer's local time:</p>
<p><span id='localtime'>10:52 am</span></p>
<button onclick='indispo()'>Hide</button>
</div>
</div>
</div>
<div id='about' class='border-solid block margin30 pad20'>
<h2>About</h2>
<p>
Alexlune is an open-source webapp developed by <a>Renato Araujo</a>. So called
in tribute for the great <a>Professor Alexandre Zabot</a>, UFSC.
<br>
The pourpose is to imitate an old simulator, made using Flash, an old Web Technology,
no more available for public. I hope it helps to spreed scientific education worldwide,
as well as support more enjoyable and clear learning on this theme.
</p>
<p>
<a href='https://github.com/RenatoExpert/alexlune' target="_blank">
<button>
See Github Repo
</button>
</a>
</p>
<hr>
<h3>The author: Renato Araujo</h3>
<p>
<ul>
<li>
<a>
Website
</a>
</li>
<li>
<a>
Github Page
</a>
</li>
</ul>
</p>
<hr>
<h3>References</h3>
<p>
<ul>
<li>
Professor Zabot's Astronomy Course:
<a href='https://astrofisica.ufsc.br/aa/g/' target="_blank">
Oficial Website
</a>
<a>
Youtube Playlist
</a>
</li>
<li>
<a href='https://gateway.golabz.eu/embed/apps/897b0ec0-0055-4a20-a6bd-6245315733f0/app.html' target="_blank">
Original Flash Content
</a>
</li>
<li>
<a href='https://astro.unl.edu/naap/lps/lps.html' target="_blank">
Astronomy Education at the University of Nebraska-Lincoln's Page
</a>
</li>
</ul>
</p>
</div>
<script src='script/main.js'>
</script>
</body>
</html>