-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy paththesolsystem.html
More file actions
608 lines (578 loc) · 27.8 KB
/
thesolsystem.html
File metadata and controls
608 lines (578 loc) · 27.8 KB
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Solar System</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="img/logo.jpeg" rel="icon">
<link href="img/logo.jpeg" rel="apple-touch-icon">
<link href="css/style.css" rel="stylesheet">
<link rel="stylesheet" href="css/solsystem.css">
<!-- <link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css"> -->
</head>
<body class="opening hide-UI view-2D zoom-large data-close controls-close">
<!-- ======= Top Bar ======= -->
<div id="topbar" class="d-flex align-items-center fixed-top">
<div class="container d-flex justify-content-center justify-content-md-between">
<div class="contact-info d-flex align-items-center">
<!-- <a href="index.html" class="book-a-table-btn scrollto d-none d-lg-flex">ExplorAR</a> -->
</div>
</div>
</div>
<!-- ======= Header ======= -->
<header id="topbar" class="fixed-top d-flex align-items-cente">
<div class="container-fluid container-xl d-flex align-items-center justify-content-lg-between">
<a href="index.html" class="book-a-table-btn scrollto d-none d-lg-flex home-button"><span>explorAR</span></a>
</div>
</header><!-- End Header -->
<div id="navbar">
<a id="toggle-data" href="#data"><i class="icon-data"></i>Data</a>
<h1>3D Solar System<br></h1>
<a id="toggle-controls" href="#controls"><i class="icon-controls"></i>Controls</a>
</div>
<div id="data">
<!-- <div class="link-data">
<div class="modal fade" id="featureModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title text-primary" id="feature-title"></h4>
</div>
<div class="modal-body" id="feature-info">
<div id="content"></div>
<div id="echoar">
<img
src="https://media1.giphy.com/media/3oEjI6SIIHBdRxXI40/giphy.gif"
alt="ok"
/>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">
Close
</button>
</div>
</div>
</div>
</div>
</div> -->
<a class="sun" title="sun" href="#sunspeed">Sun</a>
<a class="mercury" title="mercury" href="#mercuryspeed">Mercury</a>
<a class="venus" title="venus" href="#venusspeed">Venus</a>
<a class="earth active" title="earth" href="#earthspeed">Earth</a>
<a class="mars" title="mars" href="#marsspeed">Mars</a>
<a class="jupiter" title="jupiter" href="#jupiterspeed">Jupiter</a>
<a class="saturn" title="saturn" href="#saturnspeed">Saturn</a>
<a class="uranus" title="uranus" href="#uranusspeed">Uranus</a>
<a class="neptune" title="neptune" href="#neptunespeed">Neptune</a>
<!-- <div class="planet-container">
<div class="sun-data"></div>
<div class="mercury-data"></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div> -->
</div>
<div id="controls">
<label class="set-view">
<input type="checkbox">
</label>
<label class="set-zoom">
<input type="checkbox">
</label>
<label>
<input type="radio" class="set-speed" name="scale" checked>
<span>Speed</span>
</label>
<label>
<input type="radio" class="set-size" name="scale">
<span>Size</span>
</label>
<label>
<input type="radio" class="set-distance" name="scale">
<span>Distance</span>
</label>
</div>
<div id="universe" class="scale-stretched">
<div id="galaxy">
<div id="solar-system" class="earth">
<div id="mercury" class="orbit">
<div class="pos">
<div class="planet">
<dl class="infos">
<dt>Mercury</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
<div id="venus" class="orbit">
<div class="pos">
<div class="planet">
<dl class="infos">
<dt>Venus</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
<div id="earth" class="orbit">
<div class="pos">
<div class="orbit">
<div class="pos">
<div class="moon"></div>
</div>
</div>
<div class="planet">
<dl class="infos">
<dt>Earth</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
<div id="mars" class="orbit">
<div class="pos">
<div class="planet">
<dl class="infos">
<dt>Mars</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
<div id="jupiter" class="orbit">
<div class="pos">
<div class="planet">
<dl class="infos">
<dt>Jupiter</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
<div id="saturn" class="orbit">
<div class="pos">
<div class="planet">
<div class="ring"></div>
<dl class="infos">
<dt>Saturn</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
<div id="uranus" class="orbit">
<div class="pos">
<div class="planet">
<dl class="infos">
<dt>Uranus</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
<div id="neptune" class="orbit">
<div class="pos">
<div class="planet">
<dl class="infos">
<dt>Neptune</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
<div id="sun">
<dl class="infos">
<dt>Sun</dt>
<dd><span></span></dd>
</dl>
</div>
</div>
</div>
</div>
<div class="planet-data wrapper">
<!-- <div class="row"> -->
<div class="sun-data card">
<input type="checkbox" id="card1" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/sun.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card1" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">The Sun</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading">The Parent Star</h1>
</div>
<div class="description">
Sun, star around which Earth and the other components of the solar system revolve. It is the dominant body of the system, constituting more than 99 percent of its entire mass. The Sun is the source of an enormous amount of energy, a portion of which provides Earth with the light and heat necessary to support life.
<br>
<a href="https://www.britannica.com/place/Sun">Know More</a>
<br>
<a href="https://en.wikipedia.org/wiki/Sun">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=f6a72474-1304-40d8-a237-b52dccbb6b2b">
See in AR
</a>
<label for="card1" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<div class="mercury-data card">
<input type="checkbox" id="card2" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/merccard.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card2" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">Mercury</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading">Closest to the Parent</h1>
</div>
<div class="description">
Mercury, the innermost planet of the solar system and the eighth in size and mass. Its closeness to the Sun and its smallness make it the most elusive of the planets visible to the unaided eye. Because its rising or setting is always within about two hours of the Sun’s, it is never observable when the sky is fully dark. Mercury is designated by the symbol ☿.
<br>
<a href="https://www.britannica.com/place/Mercury-planet">Know More</a>
<br>
<a href="https://en.wikipedia.org/wiki/Mercury_(planet)">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=485a819e-2957-4f66-83f7-1c33314b21b3">
See in AR
</a>
<label for="card2" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<div class="venus-data card">
<input type="checkbox" id="card3" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/venus.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card3" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">Venus</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading">The Hottest Planet</h1>
</div>
<div class="description">
Venus, second planet from the Sun and sixth in the solar system in size and mass. No planet approaches closer to Earth than Venus; at its nearest it is the closest large body to Earth other than the Moon. Because Venus’s orbit is nearer the Sun than Earth’s, the planet is always roughly in the same direction in the sky as the Sun and can be seen only in the hours near sunrise or sunset. When it is visible, it is the most brilliant planet in the sky. Venus is designated by the symbol ♀.
<br>
<a href="https://www.britannica.com/place/Venus-planet">Know More</a>
<br>
<a href="https://en.wikipedia.org/wiki/Venus">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=e0661769-56aa-42da-be6e-ae4b6b9fe660">
See in AR
</a>
<label for="card3" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<div class="earth-data card">
<input type="checkbox" id="card4" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/earthcard.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card4" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">The Earth</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading">Our World</h1>
</div>
<div class="description">
Earth, third planet from the Sun and the fifth largest planet in the solar system in terms of size and mass. Its single most outstanding feature is that its near-surface environments are the only places in the universe known to harbour life. It is designated by the symbol ♁. Earth’s name in English, the international language of astronomy, derives from Old English and Germanic words for ground and earth, and it is the only name for a planet of the solar system that does not come from Greco-Roman mythology.
<br>
<a href="https://www.britannica.com/place/Earth">Know More</a>
<br>
<a href="https://en.wikipedia.org/wiki/Earth">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=4b53c587-f9a2-4ffe-9e54-4e0e6e935602">
See in AR
</a>
<label for="card4" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<div class="mars-data card">
<input type="checkbox" id="card5" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/marscard.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card5" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">Mars</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading">The Red Planet</h1>
</div>
<div class="description">
Mars, fourth planet in the solar system in order of distance from the Sun and seventh in size and mass. It is a periodically conspicuous reddish object in the night sky. Mars is designated by the symbol ♂.
Sometimes called the Red Planet, Mars has long been associated with warfare and slaughter. It is named for the Roman god of war. As long as 3,000 years ago, Babylonian astronomer-astrologers called the planet Nergal for their god of death and pestilence. The planet’s two moons, Phobos (Greek: “Fear”) and Deimos (“Terror”), were named for two of the sons of Ares and Aphrodite (the counterparts of Mars and Venus, respectively, in Greek mythology).
<br>
<a href="https://www.britannica.com/place/Mars-planet">Know More</a>
<br>
<a href="https://en.wikipedia.org/wiki/Mars">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=477e1346-4ea2-47f9-8d18-be7cd5127bbd">
See in AR
</a>
<label for="card5" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<div class="jupiter-data card">
<input type="checkbox" id="card6" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/jupiter1.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card6" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">Jupiter</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading">The Protector</h1>
</div>
<div class="description">
Jupiter, the most massive planet of the solar system and the fifth in distance from the Sun. It is one of the brightest objects in the night sky; only the Moon, Venus, and sometimes Mars are more brilliant. Jupiter is designated by the symbol ♃. Also it protects us from the Asteroids.
<a href="https://www.britannica.com/place/Jupiter-planet">Know More</a>
<a href="https://en.wikipedia.org/wiki/Jupiter">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=011064cf-8379-436a-aaad-051b1388fa19">
See in AR
</a>
<label for="card6" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<div class="saturn-data card">
<input type="checkbox" id="card7" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/saturn1.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card7" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">Saturn</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading">Planet With Beautiful Rings</h1>
</div>
<div class="description">
Saturn, second largest planet of the solar system in mass and size and the sixth nearest planet in distance to the Sun. In the night sky Saturn is easily visible to the unaided eye as a non-twinkling point of light. When viewed through even a small telescope, the planet encircled by its magnificent rings is arguably the most sublime object in the solar system. Saturn is designated by the symbol ♄.
<br>
<a href="https://www.britannica.com/place/Saturn-planet">Know More</a>
<br>
<a href="https://en.wikipedia.org/wiki/Saturn">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=91df717b-acfe-47b3-9cff-84c19df2aad5">
See in AR
</a>
<label for="card7" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<div class="uranus-data card">
<input type="checkbox" id="card8" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/uranus.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card8" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">The Underrated Planet</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading"></h1>
</div>
<div class="description">
Uranus, seventh planet in distance from the Sun and the least massive of the solar system’s four giant, or Jovian, planets, which also include Jupiter, Saturn, and Neptune. At its brightest, Uranus is just visible to the unaided eye as a blue-green point of light. It is designated by the symbol ♅.
Uranus Also has 13 rings.
<br>
<a href="https://www.britannica.com/place/Uranus-planet">Know More</a>
<br>
<a href="https://en.wikipedia.org/wiki/Uranus">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=6a93928c-da4b-414b-9e80-18893b734369">
See in AR
</a>
<label for="card8" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<div class="neptune-data card">
<input type="checkbox" id="card9" class="more" aria-hidden="true">
<div class="content">
<div class="front" style="background-image: url('img/planets/neptune.jpg')">
<div class="inner">
<!-- <h2>Cozy apartment</h2> -->
<label for="card9" class="button" aria-hidden="true">
Explore
</label>
</div>
</div>
<div class="back">
<div class="inner">
<div class="card-title">
<h1 class="card-title-heading">Neptune</h1>
</div>
<div class="card-subtitle">
<h1 class="card-title-coheading">The Edge Planet</h1>
</div>
<div class="description">
Neptune, third most massive planet of the solar system and the eighth and outermost planet from the Sun. Because of its great distance from Earth, it cannot be seen with the unaided eye. With a small telescope, it appears as a tiny, faint blue-green disk. It is designated by the symbol ♆.
<br>
<a href="https://www.britannica.com/place/Neptune-planet">Know More</a>
<br>
<a href="https://en.wikipedia.org/wiki/Neptune">In Detail</a>
</div>
<a type="button" class="AR-button" href="https://console.echoar.xyz/webar?key=yellow-butterfly-9823&entry=bffb59fd-b883-464e-990b-4523854d6d20">
See in AR
</a>
<label for="card9" class="button return" aria-hidden="true">
Front
</label>
</div>
</div>
</div>
</div>
<!-- </div> -->
</div>
<!-- <script src="js/solsystem.js"></script> -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
document.write(unescape("%3Cscript src='js/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script>
$(window).load(function () {
var body = $("body"),
universe = $("#universe"),
solarsys = $("#solar-system");
var init = function () {
body.removeClass('view-2D opening').addClass("view-3D").delay(2000).queue(function () {
$(this).removeClass('hide-UI').addClass("set-speed");
$(this).dequeue();
});
};
var setView = function (view) { universe.removeClass().addClass(view); };
$("#toggle-data").click(function (e) {
body.toggleClass("data-open data-close");
e.preventDefault();
});
$("#toggle-controls").click(function (e) {
body.toggleClass("controls-open controls-close");
e.preventDefault();
});
$("#data a").click(function (e) {
var ref = $(this).attr("class");
solarsys.removeClass().addClass(ref);
$(this).parent().find('a').removeClass('active');
$(this).addClass('active');
e.preventDefault();
});
$(".set-view").click(function () { body.toggleClass("view-3D view-2D"); });
$(".set-zoom").click(function () { body.toggleClass("zoom-large zoom-close"); });
$(".set-speed").click(function () { setView("scale-stretched set-speed"); });
$(".set-size").click(function () { setView("scale-s set-size"); });
$(".set-distance").click(function () { setView("scale-d set-distance"); });
init();
});
</script>
<script>
</script>
<!-- <script src="vendor/bootstrap/js/bootstrap.min.js"></script> -->
<script src="js/prefixfree.min.js"></script>
<script src="js/scripts.min.js"></script>
</body>
</html>