-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·61 lines (51 loc) · 2.14 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Mobile Stuff -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="msapplication-tap-highlight" content="no">
<!-- Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="images/touch/chrome-touch-icon.png">
<!-- Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon" href="images/touch/apple-touch-icon.png">
<!-- Windows 8 -->
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon.png">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="theme-color" content="#000000">
<link rel="shortcut icon" href="favicon.ico">
<title>GridWave test</title>
<link href='https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,300italic,400italic,700,700italic' rel='stylesheet' type='text/css'>
<script src="js/three.min.js"></script>
<script src="js/gridwave.js"></script>
<script src="js/shaders/SSAOShader.js"></script>
<script src="js/shaders/CopyShader.js"></script>
<script src="js/postprocessing/EffectComposer.js"></script>
<script src="js/postprocessing/RenderPass.js"></script>
<script src="js/postprocessing/ShaderPass.js"></script>
<script src="js/postprocessing/MaskPass.js"></script>
<style>
#container {
width:1270px;
height:500px;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
</style>
</head>
<body>
<div id="container"></div>
<script>
var gwave = new GridWave(document.querySelector("#container"),{
modelPath:"gridwave-x4.js",
imagePath: "test.jpg"
});
gwave.start();
</script>
</body>
</html>