-
Notifications
You must be signed in to change notification settings - Fork 122
/
index.html
69 lines (60 loc) · 1.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>3D lines animation with three.js</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: #fff;
margin: 0px;
overflow: hidden;
font-family:arial;
color:#fff;
}
h1{
margin:0;
}
a {
color:#0078ff;
}
#canvas{
width:100%;
height:700px;
overflow: hidden;
position:absolute;
top:0;
left:0;
background-color: #1a1724;
}
.canvas-wrap{
position:relative;
}
div.canvas-content{
position:relative;
z-index:2000;
color:#fff;
text-align:center;
padding-top:30px;
}
</style>
</head>
<body>
<section class="canvas-wrap">
<div class="canvas-content">
<h1>3D lines animation with three.js</h1>
</div>
<div id="canvas" class="gradient"></div>
</section>
<!-- Main library -->
<script src="js/three.min.js"></script>
<!-- Helpers -->
<script src="js/projector.js"></script>
<script src="js/canvas-renderer.js"></script>
<!-- Visualitzation adjustments -->
<script src="js/3d-lines-animation.js"></script>
<!-- Animated background color -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<script src="js/color.js"></script>
</body>
</html>