-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathindex.html
46 lines (32 loc) · 1.2 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<img id="startImage" src="img/background.jpg">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.3/TweenMax.min.js"></script>
<script src="js/blueWave.js"></script>
<script type="text/javascript">
var pixelwave = new BlueWave({
canvasTop: 50,
speedIn: 3,
speedOut: 1,
autoCalculateSquaresSize: true,
color: '#000000'
});
function example () {
console.log("dope");
}
document.getElementById('startImage').addEventListener('click', function() {
bluewave.start(example);
})
</script>
</body>
</html>