forked from jmoenig/Snap
-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
75 lines (69 loc) · 3.92 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TurtleStitch</title>
<link rel="shortcut icon" href="stitchcode/favicon-32x32.png" type="image/png" />
<script src="src/morphic.js?version=2023-11-24"></script>
<script src="src/symbols.js?version=2021-03-03"></script>
<script src="src/widgets.js?version=2021-17-09"></script>
<script src="src/blocks.js?version=2022-01-30"></script>
<script src="src/threads.js?version=2022-01-31"></script>
<script src="src/objects.js?version=2023-03-01"></script>
<script src="src/scenes.js?version=2021-11-24"></script>
<script src="src/gui.js?version=2022-02-08"></script>
<script src="src/paint.js?version=2021-07-05"></script>
<script src="src/lists.js?version=2022-02-07"></script>
<script src="src/byob.js?version=2022-01-07"></script>
<script src="src/tables.js?version=2022-01-28"></script>
<script src="src/sketch.js?version=2021-11-03"></script>
<script src="src/video.js?version=2019-06-27"></script>
<script src="src/maps.js?version=2021-06-15"></script>
<script src="src/extensions.js?version=2022-02-08"></script>
<script src="src/xml.js?version=2021-07-05"></script>
<script src="src/store.js?version=2022-01-02"></script>
<script src="src/locale.js?version=2022-01-31"></script>
<script src="src/cloud.js?version=2021-02-04"></script>
<script src="src/api.js?version=2022-01-03"></script>
<script src="src/sha512.js?version=2019-06-27"></script>
<script src="src/FileSaver.min.js?version=2019-06-27"></script>
<!-- three.js -->
<script type="text/javascript" src="stitchcode/three-newer/three.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/threee/CanvasRenderer.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/threee/THREE.MeshLine.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/threee/OrbitControls.old.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/threee/Detector.js?version=2021-12-14"></script>
<!--<script type="text/javascript" src="stitchcode/three-124/LegacyJSONLoader.js"></script>-->
<script type="text/javascript" src="stitchcode/assets/turtle.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/fonts/simplex.js?version=2021-12-14"></script>
<!-- turtlestitch additions -->
<script type="text/javascript" src="stitchcode/turtleShepherd.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/morphic.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/symbols.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/blocks.js?version=2021-12-14"></script>
<script type="text/javascript" src="stitchcode/widgets.js?version=2023-05-10"></script>
<script type="text/javascript" src="stitchcode/threads.js?version=2022-12-05"></script>
<script type="text/javascript" src="stitchcode/objects.js?version=2023-05-10"></script>
<script type="text/javascript" src="stitchcode/turtlecloud.js?version=2024-11-13"></script>
<script type="text/javascript" src="stitchcode/gui.js?version=2024-11-10"></script>
<script type="text/javascript" src="stitchcode/store.js?version=2023-05-10"></script>
<script type="text/javascript">
var world;
window.onload = function () {
console.log("is Retina supported: " + isRetinaSupported());
disableRetinaSupport();
world = new WorldMorph(document.getElementById('world'));
world.worldCanvas.focus();
new IDE_Morph().openIn(world);
loop();
};
function loop() {
requestAnimationFrame(loop);
world.doOneCycle();
}
</script>
</head>
<body style="margin: 0;">
<canvas id="world" tabindex="1" style="position: absolute;"></canvas>
</body>
</html>