-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
184 lines (173 loc) · 9.94 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-2087713-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-2087713-2');
</script>
<title>Star in a Box</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=IE8">
<link rel="stylesheet" href="css/boilerplate.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
<!--[if lt IE 9]><link rel="stylesheet" type="text/css" href="css/IE8.css" /><![endif]-->
<!--[if lt IE 8]><link rel="stylesheet" type="text/css" href="css/IE7.css" /><![endif]-->
<link rel="icon" type="image/ico" href="favicon.ico">
<script language="javascript" type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<!-- Use jQuery UI for better easing in animations -->
<script language="javascript" type="text/javascript" src="js/jquery-ui-1.10.3.custom.min.js"></script>
<script language="javascript" type="text/javascript" src="js/raphael-min.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.queryloader2.js"></script>
<script language="javascript" type="text/javascript" src="js/siab.js"></script>
</head>
<body>
<div id="loader" class=""></div>
<div id="shadow"></div>
<div id="container">
<div id="menu" class="jsonly">
<ul>
<li><a id="summary" href="#">Data table</a></li>
<li><a id="help" href="#help">About</a></li>
</ul>
</div>
<div id="box-lid">
<div id="welcome">
<div id="welcome-content">
<h1>Welcome!</h1>
<div class="jsonly">
<p>You are now the proud owner of Star In A Box.</p>
<p>Inside this box you can animate the different stages in a star's life and see how its brightness, size, and mass change with time.</p>
<p>Once you've opened the box just <strong>click the play button</strong> to start animating.</p>
</div>
<div class="accessible">
<p>You don't appear to have Javascript enabled so you won't be able to use the interactive features of Star In A Box. However, you can still download data to make your own investigations of how the brightness, size and mass of stars change as they go through their lives:</p>
<ul>
<li><a href="db/star_0.2_solar_mass.csv">0.2 solar mass star</a></li>
<li><a href="db/star_0.65_solar_mass.csv">0.65 solar mass star</a></li>
<li><a href="db/star_1_solar_mass.csv">1 solar mass star</a></li>
<li><a href="db/star_2_solar_mass.csv">2 solar mass star</a></li>
<li><a href="db/star_4_solar_mass.csv">4 solar mass star</a></li>
<li><a href="db/star_8_solar_mass.csv">8 solar mass star</a></li>
<li><a href="db/star_10_solar_mass.csv">10 solar mass star</a></li>
<li><a href="db/star_20_solar_mass.csv">20 solar mass star</a></li>
<li><a href="db/star_30_solar_mass.csv">30 solar mass star</a></li>
<li><a href="db/star_40_solar_mass.csv">40 solar mass star</a></li>
</ul>
</div>
</div>
<div id="help-content">
<h2>About</h2>
<p>Star in a Box allows you to explore one of the most enigmatic tools in astronomy - the <a href="https://lco.global/spacebook/h-r-diagram">Hertzsprung-Russell diagram</a>.</p>
<p>When you first open the box you start with a star with the same mass as the Sun but you can change this to a different mass at any time. The tracks that you see on the graph (on the left) map the lifecycle of the star. You can play the animation of the star moving around the diagram, and see how its brightness, size, surface temperature, and mass change in the panels on the right.</p>
<p>Stars can take billions of years to go through their lives with the dramatic events taking place in relatively short periods of time. In the animation we speed up time when the star is not really changing much and slow things down for the dramatic phases of the star's life.</p>
<p><strong>Controls:</strong></p>
<ul>
<li><strong class="key">space</strong> Play/pause the animation</li>
<li><strong class="key">→</strong> <strong class="key">←</strong> Move the animation forwards/backwards in time</li>
<li><strong class="key">L</strong> Opens/closes lid</li>
<li><strong class="key">M</strong> toggle between basic and advanced modes</li>
</ul>
<h3>Acknowledgments</h3>
<p><b>Design & Development</b>: <a href="https://github.com/jonyardley">Jon Yardley</a>, <a href="http://www.strudel.org.uk/">Stuart Lowe</a>, <a href="http://edward.gomez.me.uk">Edward Gomez</a>, <a href="https://www.cardiff.ac.uk/people/view/116892-gomez-haley">Haley Gomez</a> & <a href="https://www.cardiff.ac.uk/people/view/828749-north-chris"><a href=\"https://www.cardiff.ac.uk/people/view/828749-north-chris\">Chris North</a></a></p>
<p>Supported by <a href="https://lco.global/">Las Cumbres Observatory</a></p>
<p>Based on the stellar evolution work of <a href="http://astronomy.swin.edu.au/~jhurley/">Jarrod Hurley</a>, <a href="https://www.astro.ru.nl/wiki/general/people/onno_pols">Onno Pols</a>, and <a href="http://www.ast.cam.ac.uk/~cat/">Christopher Tout</a></p>
</div>
<div id="summary-content"></div>
<div id="lang-content"></div>
<div id="lid-open" class="jsonly"><a href="#">< Open the Lid</a></div>
</div>
</div>
<div id="inner-box">
<div id="box-top-t"></div>
<div id="box-top-r"></div>
<div id="box-top-b"></div>
<div id="box-sides"></div>
<div id="box-left-lip"></div>
<div id="box-bottom"></div>
</div>
<div class="content-holder">
<div id="info">
<div id="infoinner">
<div class="tab">Help</div>
<div id="infocontent">
</div>
</div>
</div>
</div>
<div id="content" class="closed">
<div class="content-inner">
<div id="placeholder"></div>
<div id="current-stage"></div>
<div id="animate">
<a href="" id="animateEvolve" class="control_play">Start</a> <a href="" id="animateEvolveReset" class="control_reset">Reset</a>
</div>
<div id="nav">
<ul>
<li><a href="#rCanvas" class="item active" id="compare" title="Size Comparison"></a></li>
<li><a href="#thermometer" class="item" id="therm" title="Surface Temperature"></a></li>
<li><a href="#rlum" class="item" id="bulb" title="Brightness"></a></li>
<li><a href="#rStopwatch" class="item" id="stopwatch" title="Stages in your star's life"></a></li>
<li><a href="#rScales" class="item" id="mass" title="Mass"></a></li>
</ul>
</div>
<div id="control">
<div id="controls">
<a href="#" class="control_reset"><img src="css/images/cleardot.gif" class="icon reset" alt="reset" /></a><a href="#" class="control_play"><img src="css/images/cleardot.gif" class="icon play" alt="play" /></a><a href="#" class="control_rewind"><img src="css/images/cleardot.gif" class="icon rewind" alt="rewind" title="Step backwards" /></a><a href="#" class="control_ff"><img src="css/images/cleardot.gif" class="icon ff" alt="fast-forward" title="Step forward" /></a><div id="speedcontrol"><label for="evolveSpeed">Speed:</label><select id="evolveSpeed" name="evolve"><option value="1">>>>>></option><option value="10">>>>></option><option value="30">>>></option><option value="100">>></option><option value="500">></option></select></div>
</div>
</div>
<div id="right">
<div id="slide">
<div id="rScales" class="section 5">
<div id="scales"></div>
<div class="info"></div>
<div class="caption">
<h2>Mass</h2>
<p>This shows how the mass of your star varies over its life. Stars lose mass gradually by converting hydrogen into helium and heavier elements. They can also lose mass through winds blowing off their surface and at dramatic moments in their lives.</p>
<p>Stars are massive so, rather than measure this in kilograms, we measure this in comparison to our Sun which has 1 Solar Mass - which is about 2 million million million million million kg!</p>
</div>
</div>
<div id="rStopwatch" class="section 4">
<div id="stopwatch"></div>
<div class="info"></div>
<div class="caption">
<h2>Stages in your star's life</h2>
<p>This stopwatch shows the relative time the star spends in each stage of its life. In the animation we speed up time when the star is not really changing much and slow things down for the dramatic phases of the star's life.</p>
</div>
</div>
<div id="rlum" class="section 3">
<div class="info"></div>
<div class="caption">
<h2>Brightness</h2>
<p>How the brightness of your star changes, compared to the current brightness of our Sun (which has a value of 1 in this light meter).</p>
<p>This light meter also changes colour to match your star.</p>
</div>
</div>
<div id="thermometer" class="section 2">
<div class="info"></div>
<div class="caption">
<h2>Surface Temperature</h2>
<p>How the surface temperature of your star changes with time. The temperatures are given in Kelvin which is usually abbreviated to K. Remember that:</p><blockquote style="text-align:center;">0°C = 273 K</blockquote>
</div>
</div>
<div id="rCanvas" class="section 1">
<div class="info"></div>
<div class="caption">
<h2>Size</h2>
<p>How your star changes in size and colour, compared to the current conditions of the Sun.</p>
</div>
</div>
</div>
</div>
<div id="tevTime">0 <span class="units">Myrs</div></div>
<div id="starMass"><span class="value">1</span></div>
</div>
</div>
<div class="caution">Caution: Supernova Imminent</div>
</div>
</body>
</html>