2014-02-19 09:15:05 -05:00
|
|
|
<!DOCTYPE html>
|
2016-11-20 19:41:57 -05:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
|
|
|
|
<meta name="theme-color" content="#000000">
|
|
|
|
<meta name="msapplication-navbutton-color" content="#000000">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
|
|
<meta name="robots" content="noindex">
|
2014-05-01 18:13:42 -04:00
|
|
|
|
2016-11-20 19:41:57 -05:00
|
|
|
<title>Matter.js Demo</title>
|
|
|
|
|
2019-09-15 13:34:04 -04:00
|
|
|
<!-- Libs -->
|
|
|
|
<script type="text/javascript" src="./lib/decomp.js"></script>
|
|
|
|
<script type="text/javascript" src="./lib/pathseg.js"></script>
|
2015-08-25 19:20:56 -04:00
|
|
|
|
2016-11-20 19:41:57 -05:00
|
|
|
<!-- Matter -->
|
2019-09-14 13:36:22 -04:00
|
|
|
<script src="../build/matter.js"></script>
|
2019-09-15 13:34:04 -04:00
|
|
|
|
2016-11-20 19:41:57 -05:00
|
|
|
<!-- MatterTools -->
|
2019-09-15 13:34:04 -04:00
|
|
|
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
|
|
|
|
<script src="./lib/matter-tools.gui.js"></script>
|
|
|
|
<script src="./lib/matter-tools.inspector.js"></script>
|
|
|
|
<script src="./lib/matter-tools.demo.js"></script>
|
2016-02-07 07:46:16 -05:00
|
|
|
|
2016-11-20 19:41:57 -05:00
|
|
|
<!-- Plugins -->
|
2019-09-15 13:34:04 -04:00
|
|
|
<script src="./lib/matter-wrap.js"></script>
|
2016-11-20 19:41:57 -05:00
|
|
|
|
|
|
|
<!-- Examples -->
|
|
|
|
<script src="../examples/airFriction.js"></script>
|
|
|
|
<script src="../examples/avalanche.js"></script>
|
|
|
|
<script src="../examples/ballPool.js"></script>
|
|
|
|
<script src="../examples/bridge.js"></script>
|
|
|
|
<script src="../examples/broadphase.js"></script>
|
|
|
|
<script src="../examples/car.js"></script>
|
|
|
|
<script src="../examples/catapult.js"></script>
|
|
|
|
<script src="../examples/chains.js"></script>
|
|
|
|
<script src="../examples/circleStack.js"></script>
|
|
|
|
<script src="../examples/cloth.js"></script>
|
|
|
|
<script src="../examples/collisionFiltering.js"></script>
|
|
|
|
<script src="../examples/compositeManipulation.js"></script>
|
|
|
|
<script src="../examples/compound.js"></script>
|
|
|
|
<script src="../examples/compoundStack.js"></script>
|
|
|
|
<script src="../examples/concave.js"></script>
|
2017-06-26 18:20:58 -04:00
|
|
|
<script src="../examples/constraints.js"></script>
|
2017-05-03 19:33:21 -04:00
|
|
|
<script src="../examples/doublePendulum.js"></script>
|
2016-11-20 19:41:57 -05:00
|
|
|
<script src="../examples/events.js"></script>
|
|
|
|
<script src="../examples/friction.js"></script>
|
|
|
|
<script src="../examples/gravity.js"></script>
|
|
|
|
<script src="../examples/gyro.js"></script>
|
|
|
|
<script src="../examples/manipulation.js"></script>
|
|
|
|
<script src="../examples/mixed.js"></script>
|
|
|
|
<script src="../examples/newtonsCradle.js"></script>
|
2017-07-06 16:49:42 -04:00
|
|
|
<script src="../examples/ragdoll.js"></script>
|
2016-11-20 19:41:57 -05:00
|
|
|
<script src="../examples/pyramid.js"></script>
|
|
|
|
<script src="../examples/raycasting.js"></script>
|
|
|
|
<script src="../examples/restitution.js"></script>
|
|
|
|
<script src="../examples/rounded.js"></script>
|
|
|
|
<script src="../examples/sensors.js"></script>
|
|
|
|
<script src="../examples/sleeping.js"></script>
|
|
|
|
<script src="../examples/slingshot.js"></script>
|
|
|
|
<script src="../examples/softBody.js"></script>
|
|
|
|
<script src="../examples/sprites.js"></script>
|
|
|
|
<script src="../examples/stack.js"></script>
|
|
|
|
<script src="../examples/staticFriction.js"></script>
|
|
|
|
<script src="../examples/stress.js"></script>
|
|
|
|
<script src="../examples/stress2.js"></script>
|
|
|
|
<script src="../examples/svg.js"></script>
|
|
|
|
<script src="../examples/terrain.js"></script>
|
|
|
|
<script src="../examples/timescale.js"></script>
|
|
|
|
<script src="../examples/views.js"></script>
|
|
|
|
<script src="../examples/wreckingBall.js"></script>
|
2019-09-15 13:34:04 -04:00
|
|
|
|
2016-11-20 19:41:57 -05:00
|
|
|
<style type="text/css">
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2014-05-01 18:13:42 -04:00
|
|
|
|
2016-11-20 19:41:57 -05:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2019-09-30 18:28:17 -04:00
|
|
|
|
|
|
|
.matter-js-compare-build {
|
|
|
|
position: absolute;
|
|
|
|
background: none;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: 0;
|
|
|
|
z-index: 1;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.matter-js-compare-build .matter-header-outer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.matter-js-compare-build canvas {
|
|
|
|
opacity: 0.5;
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
2016-11-20 19:41:57 -05:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2019-09-15 13:34:04 -04:00
|
|
|
<script src="./js/Demo.js"></script>
|
2016-11-20 19:41:57 -05:00
|
|
|
</body>
|
|
|
|
</html>
|