-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbbq.html
55 lines (46 loc) · 1.67 KB
/
bbq.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3D-Representation</title>
<link rel="stylesheet" href="./bbq.css">
</head>
<body>
<canvas id="maincanvas"></canvas>
<div class="dropdown" id="drop">
<span>  ⟨</span>
<div class="dropdown-content">
<form>
Rotate X:<br/>
<input id="rotx" type="number" value=0><br/> Rotate Y:<br/>
<input id="roty" type="number" value="0"><br/> Rotate Z:<br/>
<input id="rotz" type="number" value="0"><br/> Translate X:<br/>
<input id="transx" type="number" value="0"><br/> Translate Y:<br/>
<input id="transy" type="number" value="0"><br/> Translate Z:<br/>
<input id="transz" type=" number" value="0"> <br/>ScaleX :<br/>
<input id="scalex" type="number" value="1"> <br/>ScaleY :<br/>
<input id="scaley" type="number" value="1"> <br/>ScaleZ :<br/>
<input id="scalez" type="number" value="1"> <br/>Angle :<br/>
<input id="angle" type="number" value="45"><br/> Near Z:<br/>
<input id="nearz" type="number" value="1"><br/> Far Z:<br/>
<input id="farz" type="number" value="10"><br/>
</form>
</div>
</div>
<!--
rotx
roty
rotz
transx
transy
transz
angle
nearz
farz
scale3d
-->
<script src="./bbq.js "></script>
</body>
</html>