2014-03-07 11:58:57 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
2014-03-20 11:05:42 -04:00
|
|
|
<meta name="viewport" content="width=device-width,minimal-ui">
|
2014-03-07 11:58:57 -05:00
|
|
|
<meta name="robots" content="noindex">
|
2014-03-20 11:05:42 -04:00
|
|
|
<script type="text/javascript" src="./js/lib/pixi.dev.js"></script>
|
2014-03-07 11:58:57 -05:00
|
|
|
<script type="text/javascript" src="./js/lib/dat.gui.min.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/lib/resurrect.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/lib/matter-dev.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/Demo.js"></script>
|
|
|
|
<link rel="stylesheet" href="./css/style.css" type="text/css">
|
|
|
|
<title>Matter.js Demo (Dev. Build)</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<h1>Matter.js Demo (Dev. Build)</h1>
|
|
|
|
<p><a href="./mobile.html">Mobile Demo</a> <span class="nav-sep">·</span> <a href="http://brm.io/matter-js/">Project page</a> <span class="nav-sep">·</span> <a href="https://github.com/liabru/matter-js">GitHub</a></p>
|
|
|
|
<div class="controls-container">
|
|
|
|
<select id="demo-select">
|
|
|
|
<option value="mixed">Mixed Shapes</option>
|
|
|
|
<option value="mixedSolid">Solid Rendering</option>
|
|
|
|
<option value="stack">Stack</option>
|
|
|
|
<option value="circleStack">Circle Stack</option>
|
|
|
|
<option value="pyramid">Pyramid</option>
|
|
|
|
<option value="car">Car</option>
|
2014-03-28 19:52:51 -04:00
|
|
|
<option value="catapult">Catapult</option>
|
2014-03-07 11:58:57 -05:00
|
|
|
<option value="newtonsCradle">Newton's Cradle</option>
|
2014-03-20 11:05:42 -04:00
|
|
|
<option value="wreckingBall">Wrecking Ball</option>
|
|
|
|
<option value="avalanche">Avalanche</option>
|
2014-03-07 11:58:57 -05:00
|
|
|
<option value="restitution">Restitution</option>
|
|
|
|
<option value="friction">Friction</option>
|
|
|
|
<option value="airFriction">Air Friction</option>
|
|
|
|
<option value="gravity">Reverse Gravity</option>
|
|
|
|
<option value="sleeping">Sleeping</option>
|
|
|
|
<option value="broadphase">Grid Broadphase</option>
|
|
|
|
<option value="chains">Chains</option>
|
|
|
|
<option value="ballPool">Ball Pool</option>
|
|
|
|
<option value="beachBalls">Beach Balls</option>
|
2014-03-10 17:57:38 -04:00
|
|
|
<option value="events">Events</option>
|
2014-03-12 20:24:49 -04:00
|
|
|
<option value="sprites">Sprites</option>
|
2014-03-07 11:58:57 -05:00
|
|
|
<option value="stress">Stress 1</option>
|
|
|
|
<option value="stress2">Stress 2</option>
|
|
|
|
</select>
|
|
|
|
<input id="demo-reset" value="Reset" type="submit">
|
|
|
|
</div>
|
|
|
|
<div id="canvas-container"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|