mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
68 lines
No EOL
1.8 KiB
HTML
68 lines
No EOL
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<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">
|
|
|
|
<title>Matter.js Demo</title>
|
|
|
|
<!-- Libs -->
|
|
<script src="./lib/decomp.js"></script>
|
|
<script src="./lib/pathseg.js"></script>
|
|
|
|
<!-- Examples -->
|
|
<script src="./js/Examples.js"></script>
|
|
|
|
<!-- Matter -->
|
|
<script src="../build/matter.js"></script>
|
|
|
|
<!-- MatterTools -->
|
|
<script src="./lib/matter-tools.gui.js"></script>
|
|
<script src="./lib/matter-tools.inspector.js"></script>
|
|
<script src="./lib/matter-tools.demo.js"></script>
|
|
|
|
<!-- Plugins -->
|
|
<script src="./lib/matter-wrap.js"></script>
|
|
|
|
<style type="text/css">
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<script src="./js/Demo.js"></script>
|
|
</body>
|
|
</html> |