-
Notifications
You must be signed in to change notification settings - Fork 55
/
index3.html
executable file
·49 lines (49 loc) · 2.28 KB
/
index3.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
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pixel Distortion with Three.js | Demo 3 | Codrops</title>
<meta name="description" content="An interactive pixel distortion effect made with Three.js " />
<meta name="keywords" content="webgl, three.js, pixel, distortion, pixelated, javascript" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="https://use.typekit.net/oxr3hup.css">
<link rel="stylesheet" type="text/css" href="css/base.css" />
<script>document.documentElement.className="js";var supportsCssVars=function(){var e,t=document.createElement("style");return t.innerHTML="root: { --tmp-var: bold; }",document.head.appendChild(t),e=!!(window.CSS&&window.CSS.supports&&window.CSS.supports("font-weight","var(--tmp-var)")),t.parentNode.removeChild(t),e};supportsCssVars()||alert("Please view this demo in a modern browser that supports CSS Variables.");</script>
<script src="//tympanus.net/codrops/adpacks/analytics.js"></script>
</head>
<body class="demo-3">
<main>
<div class="frame">
<div class="frame__title-wrap">
<h1 class="frame__title">Pixel Distortion</h1>
<p class="frame__tagline">with Three.js</p>
</div>
<nav class="frame__links">
<a href="https://tympanus.net/Development/ColumnScroll/">Previous demo</a>
<a href="https://tympanus.net/codrops/?p=58318">Article</a>
<a href="https://github.com/akella/DistortedPixels">GitHub</a>
</nav>
<nav class="frame__demos">
<a href="index.html" class="frame__demo ">demo 1</a>
<a href="index2.html" class="frame__demo">demo 2</a>
<a href="index3.html" class="frame__demo frame__demo--current">demo 3</a>
<a href="index4.html" class="frame__demo">demo 4</a>
</nav>
</div>
<div id="canvasContainer"
data-grid="15"
data-mouse="0.13"
data-strength="0.15"
>
<img src="img/3.jpg" alt="">
</div>
<div class="content">
<h2 class="content__title content__title--centered content__title--style-2">Cold Storage</h2>
</div>
</main>
<script src="https://tympanus.net/codrops/adpacks/cda.js"></script>
<script type="module" src="js/app.js"></script>
</body>
</html>