-
Notifications
You must be signed in to change notification settings - Fork 94
/
index.html
executable file
·51 lines (51 loc) · 2.75 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
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Infinite Tubes with Three.js | Demo 1 | Codrops</title>
<meta name="description" content="Infinite WebGL tubes as seen on Fornasetti.com made with Three.js" />
<meta name="keywords" content="webgl, effect, tube, infinite, interactive, threejs, background, canvas" />
<meta name="author" content="Louis Hoebregts for Codrops" />
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<script>document.documentElement.className = 'js';</script>
</head>
<body class="demo-1 loading">
<svg class="hidden">
<symbol id="icon-arrow" viewBox="0 0 24 24">
<title>arrow</title>
<polygon points="6.3,12.8 20.9,12.8 20.9,11.2 6.3,11.2 10.2,7.2 9,6 3.1,12 9,18 10.2,16.8 "/>
</symbol>
<symbol id="icon-drop" viewBox="0 0 24 24">
<title>drop</title>
<path d="M12,21c-3.6,0-6.6-3-6.6-6.6C5.4,11,10.8,4,11.4,3.2C11.6,3.1,11.8,3,12,3s0.4,0.1,0.6,0.3c0.6,0.8,6.1,7.8,6.1,11.2C18.6,18.1,15.6,21,12,21zM12,4.8c-1.8,2.4-5.2,7.4-5.2,9.6c0,2.9,2.3,5.2,5.2,5.2s5.2-2.3,5.2-5.2C17.2,12.2,13.8,7.3,12,4.8z"/><path d="M12,18.2c-0.4,0-0.7-0.3-0.7-0.7s0.3-0.7,0.7-0.7c1.3,0,2.4-1.1,2.4-2.4c0-0.4,0.3-0.7,0.7-0.7c0.4,0,0.7,0.3,0.7,0.7C15.8,16.5,14.1,18.2,12,18.2z"/>
</symbol>
</svg>
<main>
<header class="codrops-header">
<div class="codrops-links">
<a class="codrops-icon codrops-icon--prev" href="https://tympanus.net/Development/ScrollSpiral/" title="Previous Demo"><svg class="icon icon--arrow"><use xlink:href="#icon-arrow"></use></svg></a>
<a class="codrops-icon codrops-icon--drop" href="https://tympanus.net/codrops/?p=30954" title="Back to the article"><svg class="icon icon--drop"><use xlink:href="#icon-drop"></use></svg></a>
</div>
<h1 class="codrops-header__title">Infinite Tubes</h1>
<nav class="demos">
<a class="demo demo--current" href="index.html">Brick Tunnel</a>
<a class="demo" href="index2.html">Particles</a>
<a class="demo" href="index3.html">Star Wars</a>
<a class="demo" href="index4.html">Blood Cells</a>
<a class="demo" href="index5.html">Triangle</a>
<a class="demo" href="index6.html">Mobile Gyroscope</a>
</nav>
<p class="codrops-header__tagline">A tunnel experiment in WebGL inspired by the effect seen on <a href="http://www.fornasetti.com/">Fornasetti</a></p>
</header>
<div class="content">
<!-- The canvas where ThreeJs renders the WebGL -->
<canvas id="scene"></canvas>
</div>
</main>
<script src="js/vendors/three.min.js"></script>
<script src="js/demo1.js"></script>
</body>
</html>