-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
69 lines (69 loc) · 3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>3D Creator</title>
<meta name="description" content="3D Creator" />
<meta name="author" content="Simon Guest" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preload" href="./static/fonts/RobotoMono-VariableFont_wght.ttf" as="font" type="font/ttf" crossorigin />
<link rel="stylesheet" href="styles/main.css" />
</head>
<body>
<div id="container">
<div id="header">
<div id="buttonrow">
<img id="logo" src="./static/icons/logo.svg" alt="Code.org logo"/>
<p></p>
<button id="reset" class="button">Reset</button>
<button id="physics" class="button physics-off">Physics</button>
<button id="fullscreen" class="button">Full</button>
<button id="vr" class="button">VR</button>
<div id="vr-dropdown">
<button class="vr-dropdown-item" id="oculusQuestButton">Oculus Quest</button>
<button class="vr-dropdown-item" id="googleCardboardButton">Google Cardboard</button>
<button class="vr-dropdown-item" id="exitVRButton">Exit VR</button>
</div>
<button id="debug" class="button">Debugger</button>
<p></p>
<p></p>
<button id="examples" class="button">Examples</button>
<div id="examples-dropdown">
<button class="examples-dropdown-item" data-file="tv-room.json" data-physics="off">TV Room</button>
<button class="examples-dropdown-item" data-file="spinning-codeorg.json" data-physics="off">
Spinning Code.org
</button>
<button class="examples-dropdown-item" data-file="solar-system.json" data-physics="off">
Solar System
</button>
<button class="examples-dropdown-item" data-file="pegboard.json" data-physics="on">Pegboard Game</button>
<button class="examples-dropdown-item" data-file="redpill-bluepill.json" data-physics="on">
Red Pill, Blue Pill
</button>
</div>
<div id="image-upload">
<label for="import" id="image-upload-label">
<img src="./static/icons/upload.svg" class="button" />Upload
</label>
<input id="import" type="file" />
</div>
<button id="export" class="button">Export</button>
<button id="clear" class="button">Clear</button>
<button id="help" class="button">Help</button>
</div>
</div>
<div id="split">
<div id="blocklyArea">Loading Workspace...</div>
<span id="columnResizer"><img id="drag" src="./static/icons/drag.svg" /></span>
<div id="runArea">
<canvas id="runAreaCanvas"></canvas>
</div>
</div>
<div id="footer">
<div id="fpsCounter"></div>
</div>
</div>
<div id="blocklyDiv" style="position: absolute"></div>
<script type="module" src="src/index.ts"></script>
</body>
</html>