-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
28 lines (23 loc) · 1.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1" /> -->
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover, user-scalable=no, shrink-to-fit=no" />
<meta name="HandheldFriendly" content="true">
<title>Device Motion Demo</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<span id="forkongithub"><a href="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/osteele/p5-orientation-and-motion-example">View
Source</a></span>
<div class="warning">
DeviceMotion is not available in this browser. Try visiting this page on a mobile device.
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.min.js" crossorigin="anonymous"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/addons/p5.sound.min.js" crossorigin="anonymous"></script> -->
<!-- <script src="https://unpkg.com/ml5@latest/dist/ml5.min.js"></script> -->
<script src="./sketch.js"></script>
</html>