0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-24 09:36:48 -05:00
liabru-matter-js/demo/mobile.html

30 lines
1.3 KiB
HTML
Raw Normal View History

2014-02-19 09:15:05 -05:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
2014-03-31 10:35:00 -04:00
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimal-ui">
2014-02-19 09:15:05 -05:00
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="robots" content="noindex">
2014-04-01 08:47:54 -04:00
<script type="text/javascript" src="./js/lib/matter-0.7.0.js"></script>
2014-02-19 09:15:05 -05:00
<script type="text/javascript" src="./js/DemoMobile.js"></script>
<link rel="stylesheet" href="./css/style.css" type="text/css">
<title>Matter.js Physics Engine Mobile Demo</title>
</head>
<body class="mobile">
<div class="container">
<h1>Matter.js Mobile Demo</h1>
<p>
Open this page on your mobile device in Chrome or Safari
</p>
<p>
Touch and drag to interact with the blocks
<br>Tilt and turn to master gravity like you're the boss of it
</p>
<input id="demo-start" value="Start Demo" type="submit">
<p>Or back to the <a href="index.html">full demo</a> page for more info.</p>
<div id="canvas-container"></div>
</div>
</body>
</html>