-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (102 loc) · 4.71 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!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">
<link rel="stylesheet" href="css/default.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./asset/font/fontawesome-free-5.15.4-web/css/all.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<title>Break-out 3D</title>
</head>
<body>
<div class="final_project">
<header class="header">
<div class="navbar">
<ul class="navbar__title">
<li class="navbar__title-letter"><a href="" class="navbar__title-link">CS105 Computer Graphics</a></li>
</ul>
<ul class="navbar__list">
<li class="navbar__item">
<a href="#" class="navbar__item-link">
Ball Surface
<i class="fas fa-sort-down"></i>
</a>
<ul class="navbar__subnav navbar__subnav_two">
<li class="navbar__subnav-item">
<a href="#" class="subnav-item__link surface">Dots</a>
</li>
<li class="navbar__subnav-item">
<a href="#" class="subnav-item__link surface">Concrete</a>
</li>
<li class="navbar__subnav-item">
<a href="#" class="subnav-item__link surface">Water</a>
</li>
<li class="navbar__subnav-item">
<a href="#" class="subnav-item__link surface">Wood</a>
</li>
<li class="navbar__subnav-item">
<a href="#" class="subnav-item__link surface">Panda</a>
</li>
</ul>
</li>
</ul>
</div>
<div class="final_project-audio">
<audio id="audio" src="./asset/audio/Himawari No Yakusoku Doraemon Stand By Me OST (Cover).mp3" loop></audio>
</div>
</header>
<div id="WebGL">
<div class="WebGL__controls">
<div class="controls-object">
<div class="controls-btn" type="translate">
<i class="fas fa-arrows-alt"></i>
</div>
<span class="controls-desc"> Translate Geometry </span>
</div>
<div class="controls-object">
<div class="controls-btn" type="rotate">
<i class="fas fa-sync-alt"></i>
</div>
<span class="controls-desc"> Rotate Geometry </span>
</div>
<div class="controls-object">
<div class="controls-btn" type="scale">
<i class="fas fa-expand-arrows-alt"></i>
</div>
<span class="controls-desc"> Scale Geometry </span>
</div>
<div class="controls-object">
<div class="controls-btn" type="move-light">
<i class="fas fa-lightbulb"></i>
</div>
<span class="controls-desc"> Translate Light </span>
</div>
<div class="controls-music">
<div class="controls-music-btn" type="music">
<i class="fas fa-music"></i>
</div>
<span class="controls-music-desc"> Play Music </span>
</div>
</div>
</div>
</div>
</div>
<script>
function Uploadimage() {
document.getElementById("texture").click();
};
</script>
<script src="libs/three.js"></script>
<script src="libs/TransformControls.js"></script>
<script src="libs/GLTFLoader.js"></script>
<script src="libs/dat.gui.js"></script>
<script src="libs/OrbitControls.js"></script>
<script src="js/utils.js"></script>
<script src="js/listenToEvent.js"></script>
<script src="js/Explosion.js"></script>
<script src="js/PongGame.js"></script>
</body>
</html>