-
Notifications
You must be signed in to change notification settings - Fork 4
/
shadama.html
43 lines (42 loc) · 1.58 KB
/
shadama.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Shadama2</title>
<link rel="stylesheet" type="text/css" href="shadama.css">
<link rel="stylesheet" type="text/css" href="codemirror/codemirror.css">
<script src="codemirror/codemirror.js"></script>
<script src="codemirror/clike.js"></script>
<script src="thirdparty/ohm.min.js"></script>
<script src="thirdparty/papaparse.min.js"></script>
<!-- <script src="https://spectorcdn.babylonjs.com/spector.bundle.js" type="text/javascript"></script> -->
<!-- <script src="webgl-debug.js" type="text/javascript"></script> -->
<script src="shadama-tests.js" type="text/javascript"></script>
<script src="https://unpkg.com/@croquet/[email protected]"></script>
<script type="module">
let shadama;
import {ShadamaFactory} from "./shadama.js";
window.onload = function() {
shadama = ShadamaFactory(null, 2, null, "13-Ribbons.shadama", true);
}
</script>
</head>
<body>
<h1 id="bigTitle">Shadama</h1>
<div id="canvasHolder" style="float: left">
<canvas id="shadamaCanvas"></canvas>
</div>
<textarea style="float: left" id="code"></textarea>
<div style="float: left" id="controlBox">
<select id="myDropdown" class="dropdown-content">
</select>
<hr>
<div id="watcherList"></div>
<hr>
<div id="envList"></div>
</div>
<br>
<div style="clear: left" id="readout"></div>
<button id="fullScreenButton">Full Screen</button>
<!-- <canvas id="debugCanvas1"></canvas> -->
</body>
</html>