-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html
63 lines (53 loc) · 2.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Black Hole</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta property="og:url" content="https://oseiskar.github.io/black-hole" />
<meta property="og:title" content="THREE.js Black Hole" />
<meta property="og:description" content="A real time ray-traced simulation of a Schwarzschild black hole. Needs a decent GPU and a recent variant of Chrome or Firefox to run smoothly." />
<meta property="og:image" content="http://oseiskar.github.io/img/black-hole.jpg" />
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
</head>
<body>
<div id="hint-text" class="hidden-phone initially-hidden">
Drag to rotate or toggle variables on the right ⟶
</div>
<div class="info ">
<div id="loader">
Loading...
<div class="disclaimer">
This is a WebGL demo and very unlikely to work unless you run
a recent variant of Chrome or Firefox
</div>
</div>
</div>
<div class="link-bar">
<a href="README" target="_blank"><i class="fa fa-question-circle fa-lg"></i> What is this?</a>
|
<a href="https://github.com/oseiskar/black-hole" target="_blank"><i class="fa fa-github fa-lg"></i> Source</a>
|
<a href="docs/physics.html" target="_blank"><i class="fa fa-lg">Σ</i> Physics</a>
|
<a href="COPYRIGHT" target="_blank"><i class="fa fa-copyright fa-lg"></i> Copyright</a>
</div>
<script src="js-libs/jquery-2.1.4.min.js"></script>
<script src="js-libs/three.min.js"></script>
<script src="js-libs/OrbitControls.js"></script>
<script src="js-libs/Detector.js"></script>
<script src="js-libs/stats.min.js"></script>
<script src="js-libs/ShaderLoader.min.js"></script>
<script src="js-libs/mustache.min.js"></script>
<script src="js-libs/dat.gui.min.js"></script>
<script src="three-js-monkey-patch.js"></script>
<script id="vertex-shader" type="x-shader/x-vertex">
void main() {
gl_Position = vec4( position, 1.0 );
}
</script>
<script data-src="raytracer.glsl" data-name="raytracer" type="x-shader/x-fragment"></script>
<script src="main.js"></script>
</body>
</html>