-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
60 lines (49 loc) · 2.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Space Donut ThreeJS Animation</title>
<meta name="description" content="Space Donut ThreeJS Animation Created By iCodeAyush.">
<meta name="author" content="Ayush Shukla">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Main.CSS -->
<link rel="stylesheet" href="CSS/main.css">
</head>
<body style="opacity: 0;">
<!-----------------------------------TriggerClass----------------------------------->
<div class="Wrapper TriggerClass">
<!------------Canvas------------->
<div class="CanvasWrap">
<Canvas class="CanvasElementClass"></Canvas>
</div>
<!------------/Canvas------------->
<!------------Title------------->
<h1 class="Title">Space Donut</h1>
<!------------/Title------------->
<!------------CodeBy------------->
<a class="CodeBy" target="_blank" href="https://icodeayush.github.io/">Code By <span>iCodeAyush</span></a>
<!------------/CodeBy------------->
<!------------ScrollDown------------->
<div class="ScrollDown">
<h1><span>Scroll Down</span></h1>
</div>
<!------------/ScrollDown------------->
</div>
<!-----------------------------------/TriggerClass----------------------------------->
<!-----------------------------------Wrapper----------------------------------->
<div class="Wrapper Wrapper2">
<h1>THREE.<span>JS</span></h1>
</div>
<!-----------------------------------/Wrapper----------------------------------->
<!-- THREE.JS -->
<script src="https://cdn.jsdelivr.net/npm/three@0.139.0/build/three.min.js"></script>
<!-- OrbitControls.js -->
<script src="https://cdn.jsdelivr.net/npm/three@0.139.0/examples/js/controls/OrbitControls.js"></script>
<!-- GSAP.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
<!-- ScrollTrigger.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollTrigger.min.js"></script>
<!-- App.js -->
<script src="JS/App.js"></script>
</body>
</html>