-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (46 loc) · 1.49 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="index.css" />
<script
src="https://pagecdn.io/lib/mathjs/10.4.0/math.js"
crossorigin="anonymous"
></script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap"
rel="stylesheet"
/>
</head>
<body>
<main id="root">
<canvas id="canvas" class="paper" width="1200" height="800">
Your browser does not support the canvas element.
</canvas>
<div id="instructions" class="paper">
<strong>Instructions:</strong> <br />
<br />
Translate up: W<br />
Translate down: S<br />
Translate left: A<br />
Translate right: D<br />
Translate forward: Q<br />
Translate backward: E<br />
<br />
Rotate around axis OX (+): ArrowRight <br />
Rotate around axis OX (-): ArrowLeft <br />
Rotate around axis OY (+): ArrowUp <br />
Rotate around axis OY (-): ArrowDown <br />
Rotate around axis OZ (+): PageUp <br />
Rotate around axis OZ (-): PageDown <br />
<br />
Zoom (+): = <br />
Zoom (+): - <br /> <br />
<strong>Load object:</strong> <br />
<input type="file" id="file-input" />
</div>
</main>
<script src="index.js" type="module"></script>
</body>
</html>