-
Notifications
You must be signed in to change notification settings - Fork 2
/
mom.html
226 lines (196 loc) · 11 KB
/
mom.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
221
222
223
224
225
226
<!DOCTYPE html>
<!-- Copyright (c) 2013 Sankaranarayanan K. V. All rights reserved. -->
<html>
<head>
<meta charset="UTF-8"/>
<meta name="description" content="ISRO's Mars Orbiter Mission & NASA/GSFC's MAVEN - An Orbit Animation" />
<meta name="author" content="Sankaranarayanan K V" />
<meta name="keywords" content="mom, isro, mars, india, space, astronomy, animation" />
<script src="third-party/d3.v3.min.js" type="text/javascript" charset="utf-8"></script>
<script src="ga.js" type="text/javascript" charset="utf-8"></script>
<script src="third-party/jquery-1.9.1.js"></script>
<script src="third-party/jquery-ui-1.10.3.custom.min.js"></script>
<script src="third-party/jquery.dialogextend.min.js"></script>
<script src="mom.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="css/ui-darkness/jquery-ui-1.10.3.custom.min.css" />
<link rel="stylesheet" type="text/css" href="mom.css" />
<title>ISRO's Mars Orbiter Mission & NASA/GSFC's MAVEN - An Orbit Animation</title>
</head>
<body onload="onload()">
<div id="wrapper">
<div id="content_wrapper">
<div id="content_inner_wrapper">
<div id="blurb" class="blurb">
<a href="http://www.isro.org/mars/home.aspx">MOM</a> and
<a href="http://www.nasa.gov/mission_pages/maven/main/">MAVEN</a> orbit animation.
Inner solar system and MOM / MAVEN orbit animation generated using
NASA JPL <a href="http://ssd.jpl.nasa.gov/?horizons">HORIZONS</a> Ephemerides.
Works best with Google Chrome.
</div>
<div id="control-panel" class="control-panel">
<div> <!-- First row buttons -->
<button id="animate" type="button" class="button" onclick="momAnimate()"></button>
<button id="slower" type="button" class="button"> Slower </button>
<button id="faster" type="button" class="button"> Faster </button>
|
<input type="checkbox" id="checkbox-lock-mars" onclick="toggleLockMars()"></input>
<label>Lock on to Mars</label>
|
<input type="checkbox" id="checkbox-lock-mom" onclick="toggleLockMOM()"></input>
<label>Lock on to MOM</label>
|
<button id="missionstart" type="button" class="button" title="6 Nov, 2013 (launch date)" onclick="missionStart()">Launch</button>
<button id="missiontmi" type="button" class="button" title="1 Dec, 2013 (Trans Mars Injection)" onclick="missionTMI()">TMI</button>
<button id="missionmartian" type="button" class="button" title="24 Sep, 2014 (Mars Orbit Insertion)" onclick="missionMartian()">MOI</button>
<button id="missionnow" type="button" class="button" title="Today" onclick="missionNow()">Now</button>
<button id="missionend" type="button" class="button" title="26 Sep, 2014 (no more orbit data for MOM)" onclick="missionEnd()">End</button>|
<button id="fastbackward" type="button" class="button" title="Fast rewind">◁</button>
<button id="backward" type="button" class="button" title="Rewind">◃</button>
<button id="forward" type="button" class="button" title="Forward">▹</button>
<button id="fastforward" type="button" class="button" title="Fast forward">▷</button>
|
<!--
<input type="checkbox" id="checkbox-maven" onclick="toggleMaven()"></input>
<label>Show MAVEN</label> |
-->
<button id="mode-geo" type="button" class="button" onclick="setGeoMode()">Geo</button>
<button id="mode-helio" type="button" class="button" onclick="setHelioMode()">Helio</button>
<button id="mode-martian" type="button" class="button" onclick="setMartianMode()">Martian</button>
<div class="vspace"></div>
</div> <!-- First row buttons -->
</div> <!-- control panel -->
<div id="banner" class="banner" title="What's New?">
</div>
<div id="progressbar" class="progressbar">
<div id="progressbar-label" class="progressbar-label"></div>
</div>
<div id="zoom-panel" class="zoom-panel">
<table summary="Zoom and pan controls">
<tr>
<td/>
<td><button id="panup" type="button" class="navbutton">▲</button></td>
<td/>
</tr>
<tr>
<td><button id="panleft" type="button" class="navbutton" title="Pan left">◀</button></td>
<td><button id="reset" type="button" class="navbutton" title="Reset zoom/pan settings" onclick="reset()">◈</button></td>
<td><button id="panright" type="button" class="navbutton" title="Pan right">▶</button></td>
</tr>
<tr>
<td/>
<td><button id="pandown" type="button" class="navbutton" title="Pan down">▼</button></td>
<td/>
</tr>
<tr/>
<tr>
<td/>
<td><button id="zoomin" type="button" class="navbutton" title="Zoom in"><b>+</b></button></td>
<td/>
</tr>
<tr>
<td/>
<td><button id="zoomout" type="button" class="navbutton" title="Zoom out"><b>-</b></button></td>
<td/>
</tr>
</table>
</div> <!-- zoom panel -->
<div class="vspace"></div>
<div id="stats" class="stats"> <!-- stats wrapper -->
<div> <!-- basic statistics -->
<table summary="MOM and MAVEN distance and velocity data: relative to center" class="stats">
<tr>
<td><b>Relative to <label id="center"></label></b></td>
</tr>
<tr>
<td>Vehicle</td>
<td><label class="mom">MOM</label></td>
<td><label class="maven">MAVEN</label></td>
</tr>
<tr>
<td>Distance (km): </td>
<td><label id="distance-MOM" class="mom"></label></td>
<td><label id="distance-MAVEN" class="maven"></label></td>
</tr>
<tr>
<td>Velocity (km/s): </td>
<td><label id="velocity-MOM" class="mom"></label></td>
<td><label id="velocity-MAVEN" class="maven"></label></td>
</tr>
</table>
</div>
<div class="vspace"></div>
<div class="helio"> <!-- extended statistics / Relative to Earth -->
<table summary="MOM and MAVEN distance and velocity data: relative to Earth" class="stats">
<tr>
<td><b>Relative to Earth</b></td>
</tr>
<tr>
<td>Vehicle</td>
<td><label class="mom">MOM</label></td>
<td><label class="maven">MAVEN</label></td>
</tr>
<tr>
<td>Distance (km): </td>
<td><label id="distance-MOM-Earth" class="mom"></label></td>
<td><label id="distance-MAVEN-Earth" class="maven"></label></td>
</tr>
<tr>
<td>Velocity (km/s): </td>
<td><label id="velocity-MOM-Earth" class="mom"></label></td>
<td><label id="velocity-MAVEN-Earth" class="maven"></label></td>
</tr>
</table>
</div>
<div class="vspace"></div>
<div class="helio"> <!-- extended statistics / Relative to Mars -->
<table summary="MOM and MAVEN distance and velocity data: relative to Mars" class="stats">
<tr>
<td><b>Relative to Mars</b></td>
</tr>
<tr>
<td>Vehicle</td>
<td><label class="mom">MOM</label></td>
<td><label class="maven">MAVEN</label></td>
</tr>
<tr>
<td>Distance (km): </td>
<td><label id="distance-MOM-Mars" class="mom"></label></td>
<td><label id="distance-MAVEN-Mars" class="maven"></label></td>
</tr>
<tr>
<td>Velocity (km/s): </td>
<td><label id="velocity-MOM-Mars" class="mom"></label></td>
<td><label id="velocity-MAVEN-Mars" class="maven"></label></td>
</tr>
</table>
</div>
</div> <!-- stats wrapper -->
<div id="svg-wrapper" class="svg-wrapper">
</div>
</div> <!-- content_inner_wrapper -->
</div> <!-- content_wrapper -->
</div> <!-- wrapper -->
<div id="footer_wrapper">
<div id="footer_inner_wrapper">
<div id="date" class="date">
<table summary="Animation Date"><tr><td>Animation Time</td><td><pre><label id="date"></label></pre></td></tr></table>
</div>
<div class="info">
<table summary="Orbit Data Epoch and Mission Phase Information">
<tr>
<td>Orbit data epoch: JD = <label id="epochjd"></label> | UTC = <label id="epochdate"></label></td>
<td>MOM phase:
<label id="phase-1"></label> |
<label id="phase-2"></label> |
<label id="phase-3"></label></td>
</tr>
</table>
</div> <!-- info -->
<div class="copyright">
Copyright © 2013 Sankaranarayan K V; this file is published under the Creative Commons CC-BY-SA 2.0 license.
The source code for this project is hosted at <a href="https://github.com/kvsankar/mom"/>GitHub</a>.
</div> <!-- copyright -->
</div> <!-- footer_inner_wrapper -->
</div> <!-- footer_wrapper -->
</body>
</html>