-
Notifications
You must be signed in to change notification settings - Fork 1k
/
index.html
217 lines (197 loc) · 9.4 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html><head>
<title>Vanta.js - Animated 3D Backgrounds For Your Website</title>
<meta charset="UTF-8">
<meta name="description" content="3D & WebGL Background Animations For Your Website" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:url" content="https://www.vantajs.com" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Vanta.js - 3D & WebGL Background Animations For Your Website" />
<meta property="og:description" content="Gallery of customizable plug & play animated backgrounds using three.js" />
<meta property="og:image" content="https://www.vantajs.com/gallery/fb-share-image.jpg" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@tengb11">
<meta name="twitter:title" content="Vanta.js - 3D & WebGL Background Animations For Your Website">
<meta name="twitter:description" content="Gallery of customizable plug & play animated backgrounds using three.js">
<meta name="twitter:image" content="https://www.vantajs.com/gallery/fb-share-image.jpg">
<link rel="stylesheet" href="./gallery/reset.css">
<link rel="stylesheet" href="./gallery/circular/stylesheet.css">
<link rel="stylesheet" href="./gallery/entypo/entypo.css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.7/dat.gui.min.js"></script>
<!-- <script src="./gallery/orbit-controls.js"></script> -->
<!-- <script src="./gallery/GlslCanvas.js"></script> -->
<!-- <script src="./gallery/ThreeCSG.js"></script> -->
<script src="./gallery/rison.js"></script>
<script src="./dist/vanta.fog.min.js"></script>
<script src="./dist/vanta.waves.min.js"></script>
<script src="./dist/vanta.cells.min.js"></script>
<script src="./dist/vanta.clouds.min.js"></script>
<script src="./dist/vanta.clouds2.min.js"></script>
<script src="./dist/vanta.birds.min.js"></script>
<script src="./dist/vanta.net.min.js"></script>
<script src="./dist/vanta.globe.min.js"></script>
<script src="./dist/vanta.trunk.min.js"></script>
<script src="./dist/vanta.topology.min.js"></script>
<script src="./dist/vanta.dots.min.js"></script>
<script src="./dist/vanta.rings.min.js"></script>
<script src="./dist/vanta.halo.min.js"></script>
<!-- <script src="./dist/vanta.ripple.min.js"></script> -->
<!-- <script src="./dist/vanta.struct.min.js"></script> -->
<script src="./gallery/gallery.min.js"></script>
<link rel="stylesheet" href="./gallery/styles.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-42988408-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-42988408-2');
</script>
<!-- <script src="../js/tween.js"></script> -->
<!-- <script src="../three/stats.js"></script> -->
<!-- <script src="../three/renderstats.js"></script> -->
</head><body>
<!-- <div class="hamburger">
<div class="hamburger-lines"></div>
</div> -->
<!-- <div id='red' style="background: red; width: 20px; height: 20px; position: absolute; z-index: 10000;"></div> -->
<section class="wm">
<!-- <div class="logo">
<img class='logo-light' src="./dist/logo.png">
<img class='logo-dark' src="./dist/logo-dark.png">
</div> -->
<div class="top-left">
<a href="https://github.com/tengbao/vanta">
<i class="ent-github"> </i>
GitHub
</a>
</div>
<div class="top-right">
<a href="javascript:void(0)" class='customize'>
<i class="ent-cog"> </i>
Customize & Get Code
</a>
</div>
<div class="bottom-left">
<span id="fps"></span>
</div>
<div class="container inner">
<div class="eight columns">
<h1> Vanta.js </h1>
<h3> Animated website backgrounds in a few lines of code. </h3>
<!-- <br> <div class="btn customize">
<i class="ent-cog"> </i>
Customize & Get Code
</div> -->
<div class="btn restart"> Randomize! </div>
</div>
</div>
<div class="usage-cont" style="display: none">
<a class="close-btn" href="javascript: void(0);">
<i class="ent-cancel"></i>
</a>
<h4 class="strong"> 1. Customize </h4>
<div class="gui-cont"> </div>
<br>
<h4 class="strong"> 2. Grab the code </h4>
<ul class="features small all-instructions">
<li>
Change <strong> #your-element-selector </strong> to your element and include files from <a href="https://cdn.jsdelivr.net/npm/vanta@latest/dist/">CDN</a>
</li>
<li>
Or view <a href="#" class="strk-toggle">instructions for Strikingly.com</a>
</li>
</ul>
<ul class="features small strk-instructions" style="display: none">
<li>
If you have a Strikingly.com site, paste the following code into Strikingly Editor -> Settings -> Custom Code -> Footer Code.
</li>
<li>
Or view <a href="#" class="strk-toggle">general instructions</a>
</li>
</ul>
<div class="usage-for-all">
<div class='include-three' style='display:none'><script src="<a target="_blank" href="https://cdnjs.cloudflare.com/ajax/libs/three.js/r134/three.min.js">three.r134.min.js</a>"></script></div>
<div class='include-p5' style='display:none'><script src="<a target="_blank" href="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js">p5.min.js</a>"></script></div>
<div disabled="true" class="usage">[[INCLUDE]]
<script src="<a target="_blank" href="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.[[EFFECTNAME]].min.js">vanta.[[EFFECTNAME]].min.js</a>"></script>
<script>
[[CODE]]
</script></div>
</div>
<div class="usage-for-strk" style='display:none'>
<div class='include-three' style='display:none'><script src="<a target="_blank" href="https://cdnjs.cloudflare.com/ajax/libs/three.js/r121/three.min.js">https://cdnjs.cloudflare.com/ajax/libs/three.js/r121/three.min.js</a>"></script></div>
<div class='include-p5' style='display:none'><script src="<a target="_blank" href="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js">https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js</a>"></script></div>
<div disabled="true" class="usage">[[INCLUDE]]
<script src="<a target="_blank" href="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.[[EFFECTNAME]].min.js">https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.[[EFFECTNAME]].min.js</a>"></script>
<script>
[[CODE_STRK]]
</script></div>
</div>
</div>
<!-- <div class="arrow">
<span class="ent-down-open-big"> </span>
</div> -->
</section>
<section class="gallery">
<div class="container clearfix">
<div class="sixteen columns">
<h2> More Effects </h2>
</div>
<div class="four columns half-fixed item">
<div class="label"> Waves </div>
</div>
</div>
</section>
<section class="top-follow">
<div class="container clearfix">
<div class="sixteen columns">
<hr>
</div>
<div class="eight columns">
<h2> Why? </h2>
<ul class="features">
<li> <strong> Can interact with mouse / touch </strong> </li>
<li> <strong> Customize colors & style </strong> to match your brand </li>
<li> <strong> No pixelation </strong> – Canvas runs at full resolution</li>
<li> <strong> Smaller filesize </strong> than background videos and large background images – three.js is ~120kb minified and gzipped </li>
<li> <strong> Runs fast (60fps) </strong> on most laptops/desktops </li>
</ul>
</div>
<div class="eight columns">
<h2> What's the catch? </h2>
<ul class="features">
<li> Some WebGL effects are slow on older computers. </li>
<li> Don't use more than one or two in a single page! </li>
<li> Not all effects work on mobile devices. Set a background image or color as a fallback. </li>
</ul>
</div>
<div class="sixteen columns">
<hr>
</div>
<div class="four columns">
<a class="strikingly" href="//www.strikingly.com/?ref=vanta">
<img src="//www.tengbao.me/images/strikingly-logo-white.svg">
</a>
</div>
<div class="twelve columns">
<h4 style="margin-top: 12px;">
Vanta.js is brought to you by the folks from Strikingly.com.
</h4><br/><h4>
Don't have a website yet?
<a href="//www.strikingly.com/?ref=vanta">Start with Strikingly!</a>
</h4>
</div>
</div>
</section>
<div class="preload-images">
<img src="./gallery/noise.png" style="height: 1px; opacity: 0;">
</div>
</body></html>