Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (43 sloc) 1.63 KB
<!DOCTYPE html>
<html>
<head>
<title>lljs cloth demo</title>
<link rel="stylesheet" type="text/css" href="app.css" />
</head>
<body>
<div class="sizer">
<input name="size" type="range" min="100" max="350" value="100" />
<div class="output">32 x 33</div>
</div>
<a class="info">?</a>
<div class="info closed">
<p>
Drag the cloth around with the left mouse button, and tear it with the right button.
</p>
<p>
This was written
with <a href="https://github.com/jlongster/LLJS">my fork</a>
of <a href="http://lljs.org/">LLJS</a> that compiles
to <a href="http://asmjs.org/">asm.js</a>.
Get <a href="https://github.com/jlongster/lljs-cloth">the
code</a>, and see more demos at <a href="http://jlongster.com">my site</a>. <span>- James Long</span>
</p>
</div>
<script src="stats.min.js"></script>
<script src="gl-matrix.js"></script>
<script src="gl-renderer.js"></script>
<script src="canvas-renderer.js"></script>
<script src="verlet-run.js"></script>
<script src="verlet.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9014321-1']);
_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>