-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (40 loc) · 1.38 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
<html>
<head>
<meta title="Rain in JS"/>
<meta name="description" content="A simulation of rain.">
<meta name="keywords" content="rain,veld,calming,relaxing,loop,responsive,open,source,github">
<meta name="author" content="Veld">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="background">
</div>
<div class="hidden">
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-88803941-1', 'auto');
ga('send', 'pageview');
</script>
</div>
<canvas id="rain"></canvas>
<script src="./assets/js/rain.js"></script>
<div class="downleft">
<input class="button" type="button" value="View on GitHub" onclick="window.location.href='https://www.github.com/velddev/web-rain'"/>
</div>
<div class="hidden">
<audio controls autoplay loop>
<source src="./assets/sfx/ambient-rain.mp3" type="audio/mpeg">
</audio>
</div>
</body>
</html>