-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (40 loc) · 1.2 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
<!--
TODO:
// add light
// change Material
-->
<html>
<head>
<title>3D Artwork Placement</title>
<link href="threejs/cropper.min.css" rel="stylesheet">
<link href="styles.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="canvas3d">
<div class="right-corner">
<div>
<button class="btn info" id="myBtn">Rotate Artwork</button>
<input type="number" placeholder="Angle" id="angleInput">
</div>
<button class="btn info" id="setBtn">Apply Artwork</button>
</div>
<canvas id="canvas3d" class="canvas3js"></canvas>
</div>
<div class="canvasCrop">
<button class="btn success right-corner" id="cropBtn">Crop</button>
<img id="image" src="resources/Kellogg's Artwork.jpg">
<div class="image_lib">
<h3>Artwork Crop Library:</h3>
</div>
</div>
</div>
<script src="threejs/three.min.js"></script>
<script src="threejs/threex.domevents.js"></script>
<script src="threejs/cropper.min.js"></script>
<script src="threejs/OrbitControls.js"></script>
<script src="crop.js"></script>
<script src="3d.js"></script>
<!-- <script src="crop.js"></script> -->
</body>
</html>