-
Notifications
You must be signed in to change notification settings - Fork 0
/
fluid.html
36 lines (33 loc) · 809 Bytes
/
fluid.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
<!DOCTYPE html>
<html>
<head>
<title>WebGL Fluid Simulation</title>
<script type="text/javascript" src="./assets/js/dat.gui.min.js"></script>
<style>
* {
user-select: none;
}
html, body {
overflow: hidden;
background-color: #000;
}
body {
margin: 0;
position: fixed;
width: 100%;
height: 100%;
}
canvas {
width: 100%;
height: 100%;
}
</style>
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
</script>
</head>
<body>
<canvas></canvas>
<script src="./assets/js/script.js"></script>
</body>
</html>