-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
105 lines (74 loc) · 3.82 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
<!DOCTYPE html>
<html lang="en" class="">
<head>
<!-- PAGE TITLE -->
<title>Clouds World</title>
<!-- META/CSS/JS -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="keywords" content="Template, download, 3d, under construction, coming soon, webgl, themeforest, clouds, html, javascript, design, website">
<meta name="description" content="Journey through the clouds for your guests while page is not yet ready">
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="js/modernizr.webgl.js"></script>
<!-- // <script type="text/javascript" src="js/jquery.transit.js"></script> -->
<script type="text/javascript" src="js/min/site.min.js"></script>
<script type="text/javascript" src="js/three.min.js"></script>
<!-- // <script type="text/javascript" src="js/min/Detector.min.js"></script> -->
<script type="text/javascript" src="js/min/clouds.min.js"></script>
<script type="text/javascript" src="js/min/fallback.min.js"></script>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/icons.css">
<link rel="stylesheet" href="css/fallback.css">
</head>
<body class="">
<div class="logo"></div>
<div class="no-webgl-only message">Your browser don't support 3d animations on this page. <a href="http://browsehappy.com/" target="_blank">Check modern browsers</a></div>
<div class="fallback-clouds"></div>
<!-- SOCIAL ICONS WITH LINKS -->
<!-- <div class="socials transit">
HREF IS URL fa-name is icon name and can be replaced with any name from http://fortawesome.github.io/Font-Awesome/icons/ -->
<!-- <a href="https://www.facebook.com/ankit.ray.106902" target="_blank"><div class="social transit"><i class="fa fa-facebook"></i></div></a>
<a href="https://twitter.com/Ankitku68091782" target="_blank"><div class="social transit"><i class="fa fa-twitter"></i></div></a>
<a href="mailto:ankit@shopmecart.in?subject=Job%20offer" title="Hire me"><div class="social transit"><i class="fa fa-briefcase"></i></div></a>
<a href="http://ankitray1.github.io" target="_blank" title="Get this item"><div class="social transit"><i class="fa fa-cloud-download"></i></div></a>
</div> -->
<!-- END SOCIAL ICONS -->
<!-- PREVIEW OF BACKGROUNDS - REMOVE IF DONT NEEDED -->
<div class="preview transit">
<div class="next"><i class="fa fa-angle-double-right"></i></div>
<div class="prev"><i class="fa fa-angle-double-left"></i></div>
</div>
<!-- END OF PREVIEW OF BACKGROUNDS - REMOVE IF DONT NEEDED -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49700433-1', 'pietrasiak.com');
ga('send', 'pageview');
</script>
<!-- SHADERS -->
<script id="vs" type="x-shader/x-vertex">
varying vec2 vUv;
void main() {
vUv = uv;
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
}
</script>
<script id="fs" type="x-shader/x-fragment">
uniform sampler2D map;
uniform vec3 fogColor;
uniform float fogNear;
uniform float fogFar;
varying vec2 vUv;
void main() {
float depth = gl_FragCoord.z / gl_FragCoord.w;
float fogFactor = smoothstep( fogNear, fogFar, depth );
gl_FragColor = texture2D( map, vUv );
gl_FragColor.w *= pow( gl_FragCoord.z, 20.0 );
gl_FragColor = mix( gl_FragColor, vec4( fogColor, gl_FragColor.w ), fogFactor );
}
</script>
</body>
</html>