forked from gattis/milkshake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
milkshake.html
57 lines (45 loc) · 1.53 KB
/
milkshake.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
<!--
* milkshake -- WebGL Milkdrop-esque visualisation (port of projectM)
* Copyright (C)2011 Matt Gattis and contributors
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* See 'LICENSE.txt' included within this release
-->
<html>
<head>
<script type="text/javascript" src="milkshake.js"></script>
<style type="text/css">
body {
border: 0;
margin: 0;
overflow: hidden;
}
#milkshake {
position: absolute;
top: 0;
left: 0;
z-index: 0;
border: none;
}
</style>
</head>
<body onload="milk.shake('canvas');">
<canvas id="canvas">
Sorry, you need a more updated browser to see this, because it uses WebGL.
Try the latest <a href="http://www.google.com/chrome">Google Chrome</a>
or <a href="http://www.mozilla.org/firefox">Firefox<a/>.
</canvas>
</body>
</html>