-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (46 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
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/src/css/style.css" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link
href="https://api.fontshare.com/v2/css?f[]=satoshi@400&f[]=general-sans@400&display=swap"
rel="stylesheet"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>3D Ball | 3 JS Test</title>
</head>
<body>
<!-- Canvas -->
<canvas class="webgl"></canvas>
<nav>
<a href="/">Home</a>
<ul>
<li>
<a
href="
https://github.com/TechTronixx/3D-Ball-3js"
>Github</a
>
</li>
<li>
<a
href="
https://threejs.org/docs/?q=sph#api/en/geometries/SphereGeometry
"
>3JS</a
>
</li>
</ul>
</nav>
<!-- Title -->
<h1 class="title">Click & hold to move!</h1>
<!-- 3D Ball -->
<div class="container">
<div class="ball"></div>
</div>
<!-- Js Componenets -->
<script type="module" src="./src/js/3dball.js"></script>
</body>
</html>