kopia lustrzana https://github.com/backface/turtlestitch
64 wiersze
3.1 KiB
HTML
Executable File
64 wiersze
3.1 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Snap! Build Your Own Blocks 6.0.0 - dev -</title>
|
|
<link rel="shortcut icon" href="src/favicon.ico">
|
|
<script type="text/javascript" src="src/morphic.js?version=2020-02-10"></script>
|
|
<script type="text/javascript" src="src/symbols.js?version=2020-02-10"></script>
|
|
<script type="text/javascript" src="src/widgets.js?version=2020-01-03"></script>
|
|
<script type="text/javascript" src="src/blocks.js?version=2020-02-11"></script>
|
|
|
|
<script type="text/javascript" src="src/threads.js?version=2019-12-19"></script>
|
|
<script type="text/javascript" src="src/objects.js?version=2020-01-28"></script>
|
|
<script type="text/javascript" src="src/gui.js?version=2020-01-28"></script>
|
|
<!--
|
|
<script type="text/javascript" src="src/paint.js?version=2019-06-27"></script>
|
|
//-->
|
|
<script type="text/javascript" src="src/lists.js?version=2019-12-08"></script>
|
|
<script type="text/javascript" src="src/byob.js?version=2020-01-03"></script>
|
|
<script type="text/javascript" src="src/tables.js?version=2020-01-03"></script>
|
|
<!--
|
|
<script type="text/javascript" src="src/sketch.js?version=2019-10-09"></script>
|
|
//-->
|
|
<script type="text/javascript" src="src/video.js?version=2019-06-27"></script>
|
|
<script type="text/javascript" src="src/maps.js?version=2019-10-28"></script>
|
|
<script type="text/javascript" src="src/xml.js?version=2019-06-27"></script>
|
|
<script type="text/javascript" src="src/store.js?version=2019-12-09"></script>
|
|
<script type="text/javascript" src="src/locale.js?version=2020-01-28"></script>
|
|
<script type="text/javascript" src="src/cloud.js?version=2019-10-09"></script>
|
|
<script type="text/javascript" src="src/api.js?version=2019-12-18"></script>
|
|
<script type="text/javascript" src="src/sha512.js?version=2019-06-27"></script>
|
|
<script type="text/javascript" src="src/FileSaver.min.js?version=2019-06-27"></script>
|
|
<script type="text/javascript">
|
|
var world;
|
|
window.onload = function () {
|
|
world = new WorldMorph(document.getElementById('world'));
|
|
world.isDevMode = false;
|
|
new IDE_Morph().openIn(world);
|
|
/*
|
|
var t = new ToggleButtonMorph(
|
|
null,
|
|
null,
|
|
() => world.isDevMode = !world.isDevMode,
|
|
[new SymbolMorph('gears'), new SymbolMorph('globe')], //'dev mode',
|
|
() => world.isDevMode,
|
|
null,
|
|
'hacker possibilities'
|
|
);
|
|
t.setPosition(new Point(100, 100));
|
|
world.add(t);
|
|
*/
|
|
loop();
|
|
};
|
|
function loop() {
|
|
requestAnimationFrame(loop);
|
|
world.doOneCycle();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body style="margin: 0;">
|
|
<canvas id="world" tabindex="1" style="position: absolute;"></canvas>
|
|
</body>
|
|
</html>
|