-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
45 lines (38 loc) · 1.35 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>3DRenderJs</title>
<meta name="description" content="A (very) basic Javascript 3D Render">
<meta name="author" content="GNeulaender, RiqueriSkate10">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<link rel="stylesheet" href="css/styles.css?v=1.0">
<script src="js/math.js" type="text/javascript"></script>
</head>
<body>
<script src="js/index.js"></script>
<h1>3DRenderJs</h1>
<canvas id="3dRender" width="800" height="800"></canvas>
<div class="switch_buttons">
<button class="switcher" onclick="switch_to_rotate()">Rotate</button>
</div>
<p class="info_text">Move</p>
<div class="div-buttons-movement">
<button name="up" class="button" onclick="move('up')">
<span class="material-icons md-48">keyboard_arrow_up</span>
</button>
<button name="right" class="button" onclick="move('right')">
<span class="material-icons md-48">keyboard_arrow_right</span>
</button>
<button name="left" class="button" onclick="move('left')">
<span class="material-icons md-48">keyboard_arrow_left</span>
</button>
<button name="down" class="button" onclick="move('down')">
<span class="material-icons md-48">keyboard_arrow_down</span>
</button>
</div>
<div>
</div>
</body>
</html>