-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnogo.html
38 lines (34 loc) · 1.31 KB
/
nogo.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
<html>
<head>
<title>Rocks in Space Demo</title>
<link href="/assets/style.min.css" rel="stylesheet" />
</head>
<body>
<div id="contents">
<h1><i>Rocks in Space</i> - Mike Wadsten</h1>
<div id="holder"></div>
<div id="overlay"></div>
</div>
</body>
<!-- TODO: Do I even need underscore anymore? -->
<script src="/assets/underscore-min.js"></script>
<script src="/assets/rocksinspace.min.js"></script>
<script src="/assets/raphael-min.js"></script>
<script>
Raphael(function () {
var raph = Raphael("holder", 1000, 600);
// Create black "screen" for environment
var overlay = Raphael("overlay", 1000, 600);
window.MyRaphael = raph;
window.Overlay = overlay;
window.Env = new Environment(raph, overlay);
//Env.startLoop(function() {Env.bumpMove();});
//window.start = function(millis) { Env.startLoop(function() { Env.bumpMove(); }, millis)};
window.start = function(millis) { Env.startLoop(millis); }
window.stop = function() { Env.stopLoop(); }
//start(125);
//start(25); // makes animations smoother
});
</script>
<!--<script src="/assets/init.js"></script>-->
</html>