-
Notifications
You must be signed in to change notification settings - Fork 39
/
index.html
135 lines (126 loc) · 4.14 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>spacekit.js</title>
<style>
body {
font-family: sans-serif;
font-size: 18px;
max-width: 960px;
margin: 0 auto;
padding: 1em;
}
h1, h2 {
text-align: center;
}
a, a:visited {
color: #63637f;
}
a:hover {
-webkit-animation:rainbow 1s infinite;
animation:rainbow 1s infinite;
text-decoration: none;
}
@-webkit-keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}
@keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}
.example-container {
display: flex;
}
.example {
flex: 1;
padding: 0 0.5em;
max-width: 33%;
max-height: 11em;
overflow: hidden;
cursor: pointer;
}
.example img {
max-width: 100%;
}
</style>
</head>
<body>
<h1>spacekit.js</h1>
<h3>About SpaceKit</h3>
<p>
Spacekit is an open-source JavaScript library for creating interactive 3D space visualizations - whether of the Earth/moon system, solar system, or beyond.
</p>
<p>
You can check out an editable live example on <a href="https://jsfiddle.net/typpo/x9nv8jg0/13/">jsfiddle</a>, or look at a variety of live examples on <a href="https://www.spacereference.org/solar-system#ob=2001-einstein-1973-eb,7672-hawking-1995-uo2,2709-sagan-1982-fh">SpaceReference.org</a>.
</p>
<p>
This library generalizes work that is currently used on <strong><a href="https://www.meteorshowers.org/">Meteor Showers</a></strong>, <strong><a href="http://dinosaurpictures.org/ancient-earth">Ancient Earth</a></strong>, <a href="http://www.asterank.com/">Asterank</a>, <a href="http://www.ianww.com/ceres/">and</a> <a href="http://www.asterank.com/exoplanets">many</a> <a href="http://www.ianww.com/pluto/">other</a> <a href="http://www.ianww.com/moonviz/">sites</a> into a single open-source 3D engine for space that is both accurate and visually stunning.
</p>
<div class="example-container">
<div class="example">
<a href="https://www.meteorshowers.org/">
<img src="http://i.imgur.com/tKUogDE.png" />
</a>
</div>
<div class="example">
<a href="http://dinosaurpictures.org/ancient-earth#240">
<img src="http://i.imgur.com/Ya57O3t.png" />
</a>
</div>
<div class="example">
<a href="http://www.asterank.com/">
<img src="http://i.imgur.com/Wm6gobE.png" />
</a>
</div>
</div>
<p>
<strong><a href="build/spacekit.js" download>Download it here</a></strong> or include with:
</p>
<p>
<code><script src="https://typpo.github.io/spacekit/build/spacekit.js"></script></code>
</p>
<h2>
<a href="docs/">Documentation</a>
·
<a href="https://github.com/typpo/spacekit">Source Code</a>
·
<a href="examples/">Examples</a>
</h2>
<h3>Questions and Contact</h3>
<p>
<a href="mailto:[email protected]">Send an email</a> or <a href="https://github.com/typpo/spacekit/issues">open a Github issue</a> if you have questions or want to get in touch!
</p>
<div>
<script async src="https://jsfiddle.net/typpo/x9nv8jg0/14/embed/js,html,result/"></script>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-140394693-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-140394693-1');
</script>
</body>
</html>