forked from jwagner/fluidwebgl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (58 loc) · 3.33 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
<!DOCTYPE html>
<html>
<head>
<title>WebGL Fluid Dynamics based on Navier Stokes Equations</title>
<meta name=description content="A WebGL fluid simulation demo based on the navier stokes equations for incompressible flow." />
<link href='//fonts.googleapis.com/css?family=Michroma' rel='stylesheet' type='text/css'>
<link rel=canonical href="http://www.29a.ch/sandbox/2012/webglfluid/" />
<link rel="stylesheet" href="style.css" />
</head>
<body style="height: 100%; width: 100%">
<div id="header">
<h1><a href="//29a.ch/">29a.ch</a></h1>
<p><a href="//29a.ch/2012/12/16/webgl-fluid-simulation">More about this experiment</a></p>
<p><a href="//29a.ch/experiments/">More Experiments & Toys</a></p>
<div id="social">
<a href="https://twitter.com/share" class="twitter-share-button"
data-count="horizontal" data-via="29a_ch">Tweet</a>
<div class="fb-like" data-send="true" data-layout=button_count data-width="90" data-show-faces="true" data-font="arial" data-colorscheme="dark"></div>
<div class="g-plusone" data-size="medium"
data-href="http://29a.ch/sandbox/2012/fluidwebgl/" data-count="true"></div>
</div>
</div>
<div id="cc">
<canvas id=c width=1280 height=720></canvas>
</div>
<div id="video">
<p>Your system does not support WebGL which is required for this demo. You can try to
<a href="http://get.webgl.org/">get WebGL</a> to work or try out the older, more simple,
<a href="//29a.ch/sandbox/2012/fluidcanvas/">canvas version</a> of this demo.
</div>
<div id="footer">
An experiment by <a href="https://plus.google.com/107896782168573495211?rel=author" rel="author">Jonas Wagner</a></p>
</div>
<script data-main=src/main src=lib/require.js></script>
<script type="text/javascript" src="//platform.twitter.com/widgets.js" async defer></script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js" async defer></script>
<div id="fb-root"></div>
<!--<script src="//connect.facebook.net/en_US/all.js#xfbml=1" id="facebook-jssdk" async defer></script>-->
<!--<div id="fb-root"></div>-->
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-5205069-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>