forked from jmoenig/Snap
-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
82 lines (62 loc) · 3.53 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Beetle Blocks editor</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<script type="text/javascript" src="beetleblocks/three.js"></script>
<script type="text/javascript" src="beetleblocks/OrbitControls.js"></script>
<script type="text/javascript" src="beetleblocks/OBJLoader.js"></script>
<script type="text/javascript" src="beetleblocks/OBJExporter.js"></script>
<script type="text/javascript" src="beetleblocks/STLExporter.js"></script>
<script type="text/javascript" src="beetleblocks/STLBinaryExporter.js"></script>
<script type="text/javascript" src="beetleblocks/ThreeCSG.js"></script>
<script type="text/javascript" src="beetleblocks/TextGeometry.js"></script>
<script type="text/javascript" src="src/morphic.js"></script>
<script type="text/javascript" src="beetleblocks/morphic.js"></script>
<script type="text/javascript" src="src/widgets.js"></script>
<script type="text/javascript" src="beetleblocks/widgets.js"></script>
<script type="text/javascript" src="src/blocks.js"></script>
<script type="text/javascript" src="src/threads.js"></script>
<script type="text/javascript" src="beetleblocks/threads.js"></script>
<script type="text/javascript" src="src/objects.js"></script>
<script type="text/javascript" src="beetleblocks/objects.js"></script>
<script type="text/javascript" src="beetleblocks/cloud.js"></script> <!-- Snap!'s old cloud.js -->
<script type="text/javascript" src="beetleblocks/beetlecloud.js"></script>
<script type="text/javascript" src="src/gui.js"></script>
<script type="text/javascript" src="beetleblocks/gui.js"></script>
<script type="text/javascript" src="beetleblocks/tutorial.js"></script>
<script type="text/javascript" src="src/lists.js"></script>
<script type="text/javascript" src="src/byob.js"></script>
<script type="text/javascript" src="beetleblocks/byob.js"></script>
<script type="text/javascript" src="src/tables.js"></script>
<script type="text/javascript" src="src/symbols.js?version=2018-06-21"></script>
<script type="text/javascript" src="src/maps.js?version=2019-10-28"></script>
<script type="text/javascript" src="src/xml.js"></script>
<script type="text/javascript" src="beetleblocks/blocks.js"></script>
<script type="text/javascript" src="src/store.js"></script>
<script type="text/javascript" src="beetleblocks/store.js"></script>
<script type="text/javascript" src="src/locale.js"></script>
<script type="text/javascript" src="src/sha512.js"></script>
<script type="text/javascript" src="src/FileSaver.min.js"></script>
<script type="text/javascript">
var world,
ide;
window.onload = function () {
disableRetinaSupport();
world = new WorldMorph(document.getElementById('world'));
world.worldCanvas.focus();
ide = new IDE_Morph();
ide.openIn(world);
loop();
};
function loop() {
requestAnimationFrame(loop);
world.doOneCycle();
}
</script>
</head>
<body style="margin: 0;">
<canvas id="world" tabindex="1" style="position: absolute;" />
</body>
</html>