-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (33 loc) · 1.16 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>3D Object Builder</title>
<script src="./static/babylon.max.js"></script>
<script src="./static/babylon.gridMaterial.js"></script>
<script src="./static/babylon.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/opentype.js"></script>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="container">
<button id="Draw_Shape">Draw Shape</button>
<button id="Extrude">Extrude</button>
<button id="Move_Shape">Move Shape</button>
<!-- <label for="shapeSelector">Edit Vertex: </label> -->
<select id="shapeSelector">
<option value="Select">Select Shape</option>
<option value="sphere">Sphere</option>
<option value="cube">Cube</option>
</select>
</div>
<div id="footer">
<button id="Gizmos">3D Axis ON/OFF</button>
<button id="DeleteMesh">Delete Mesh</button>
<button id="fMove_Shape">Copy Original Mesh</button>
<button id="fEdit_Vertex">Clone Mesh</button>
</div>
<canvas id="renderCanvas"></canvas>
<script src="script.js"></script>
</body>
</html>