-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
94 lines (89 loc) · 5.67 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="orbits.css">
</head>
<body>
<div id="orbits">
<p><canvas id="bgorbit" class="canvas bg" width="1080" height="1080" /></p>
<p><canvas id="fgorbitn" class="canvas fgn" width="1080" height="1080" /></p>
<p><canvas id="fgorbitgr" class="canvas fggr" width="1080" height="1080" /></p>
<p><canvas id="tracks" class="canvas tracks" width="1080" height="1080" /></p>
</div>
<div id="potentials">
<p><canvas id="bgpot" class="canvas bg" width="540" height="540" /></p>
<p><canvas id="fgpotn" class="canvas fgn" width="540" height="540" /></p>
<p><canvas id="fgpotgr" class="canvas fggr" width="540" height="540" /></p>
</div>
<div id="input">
<form id="scenarioForm" method="post">
<table border="0">
<!--
-->
<tr>
<td align="right">c</td><td><input id="c" type="text" value="299792458" size="12" /></td>
<td align="right">G</td><td><input id="G" type="text" value="6.67398e-11" size="8" /></td>
<td align="right">Integrator</td>
<td><select id="order">
<option value="2"> 2nd Order</option>
<option value="4"> 4th Order</option>
<option value="6"> 6th Order</option>
<option value="8"> 8th Order</option>
<option value="10">10th Order</option>
</select></td>
</tr>
<tr>
<td align="right">δT</td><td><input id="timestep" type="text" value="1000000000" size="12" /></td>
<td align="right">Mass</td><td><input id="mass" type="text" value="1.9891e30" size="8" /></td>
<td align="right">Spin</td>
<td><select id="spin">
<option value="1.00">a = 1.0</option>
<option value="0.75">a = 0.75</option>
<option value="0.50">a = 0.5</option>
<option value="0.25">a = 0.25</option>
<option value="0.00" selected="selected">a = 0.0</option>
<option value="-0.25">a = -0.25</option>
<option value="-0.50">a = -0.5</option>
<option value="-0.75">a = -0.75</option>
<option value="-1.00">a = -1.0</option>
</select></td>
</tr>
<tr>
<td align="right">r scale</td><td><input id="scale" type="text" value="0.0000000075" size="12" /></td>
<td align="right">r</td><td><input id="radius" type="text" value="58.0e9" size="8" /></td>
<td align="right">Debug</td><td><input id="toggleDebug" type="checkbox" unchecked /></td>
</tr>
<tr>
</tr>
<tr>
<td align="right">p scale</td><td><input id="pscale" type="text" value="1300000000" size="12" /></td>
<td align="right">L%</td><td><input id="lfactor" type="text" value="97.9" size="8" /></td>
<td align="right">Tracks</td><td><input id="showTracks" type="checkbox" checked /></td>
</tr>
<tr>
<td></td><td></td><td></td><td></td><td></td><td align="left"><input type="submit" value="Change"></td>
</tr>
</table>
</form>
</div>
<div id="output">
<table border="0">
<tr><th></th><th class="newton">Newton</th><th class="gr">GR</th><th class="gr">GR</th></tr>
<tr><td>E</td><td id="eNEWTON" class="newton">-</td><td id="eGR" class="gr"></td><td id="rs" class="gr"><td>EH</td></tr>
<tr><td>L</td><td id="lNEWTON" class="newton"></td><td id="lGR" class="gr"></td><td id="tauGR" class="gr"><td>τ</td></tr>
<tr><td>t</td><td id="timeNEWTON" class="newton"></td><td id="tGR" class="gr"></td><td id="tdotGR" class="gr"></td><td>dt/dτ, γ</td></tr>
<tr><td>r</td><td id="rNEWTON" class="newton"></td><td id="rGR" class="gr"></td><td id="rdotGR" class="gr"></td><td>dr/dτ</td></tr>
<tr><td>φ</td><td id="phiNEWTON" class="newton"></td><td id="phiGR" class="gr"></td><td id="phidotGR" class="gr"></td><td>dφ/dτ</td></tr>
<tr><td>r<sub>min</sub></td><td id="rminNEWTON" class="newton">-</td><td id="rminGR" class="gr">-</td></tr>
<tr><td>φ<sub>min</sub></td><td id="pNEWTON" class="newton">-</td><td id="pGR" class="gr">-</td></tr>
<tr><td>r<sub>max</sub></td><td id="rmaxNEWTON" class="newton">-</td><td id="rmaxGR" class="gr">-</td></tr>
<tr><td>φ<sub>max</sub></td><td id="aNEWTON" class="newton">-</td><td id="aGR" class="gr">-</td></tr>
<tr><td>v/c</td><td id="vNEWTON" class="newton">-</td><td id="vGR" class="gr">-</td></tr>
</table>
</div>
<script type="text/javascript" src="models.js"></script>
<script type="text/javascript" src="display.js"></script>
<script type="text/javascript" src="orbits.js"></script>
</body>
</html>