-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (94 loc) · 4.92 KB
/
index.html
File metadata and controls
95 lines (94 loc) · 4.92 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="ja">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-161998526-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-161998526-1');
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-M2PVRLN');</script>
<!-- End Google Tag Manager -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta property="og:local" content="ja_JP">
<meta property="og:type" content="website">
<meta property="og:description" content="スマートフォンのカメラで手書き文字をスキャンし、それを実行することができるサウンドパフォーマンス用ライブコーディング言語「P-Code」を設計・実装しました。">
<meta property="og:title" content="P-Code Magazine">
<meta property="og:url" content="https://p-code-magazine.github.io">
<meta property="og:image" content="https://p-code-magazine.github.io/images/og.png">
<meta property="og:site_title" content="P-Code Magazine">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="P-Code">
<meta name="apple-mobile-web-app-title" content="P-Code">
<meta name="theme-color" content="#00479d">
<meta name="msapplication-navbutton-color" content="#00479d">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="msapplication-starturl" content="/">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="manifest" href="manifest.json">
<link rel="icon" sizes="72x72" href="images/icons/icon-72x72.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/icons/icon-72x72.png">
<link rel="icon" sizes="96x96" href="images/icons/icon-96x96.png">
<link rel="apple-touch-icon" sizes="96x96" href="images/icons/icon-96x96.png">
<link rel="icon" sizes="128x128" href="images/icons/icon-128x128.png">
<link rel="apple-touch-icon" sizes="128x128" href="images/icons/icon-128x128.png">
<link rel="icon" sizes="144x144" href="images/icons/icon-144x144.png">
<link rel="apple-touch-icon" sizes="144x144" href="images/icons/icon-144x144.png">
<link rel="icon" sizes="152x152" href="images/icons/icon-152x152.png">
<link rel="apple-touch-icon" sizes="152x152" href="images/icons/icon-152x152.png">
<link rel="icon" sizes="192x192" href="images/icons/icon-192x192.png">
<link rel="apple-touch-icon" sizes="192x192" href="images/icons/icon-192x192.png">
<link rel="icon" sizes="384x384" href="images/icons/icon-384x384.png">
<link rel="apple-touch-icon" sizes="384x384" href="images/icons/icon-384x384.png">
<link rel="icon" sizes="512x512" href="images/icons/icon-512x512.png">
<link rel="stylesheet" href="styles/app.css">
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('/service-worker.js').then(function(registration) {
// Registration was successful
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}, function(err) {
// registration failed :(
console.log('ServiceWorker registration failed: ', err);
});
});
}
</script>
<title>P-Code</title>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M2PVRLN"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="console">
<div id="camera">
<input type="radio" name="camera" checked="checked" value="environment">REAR</input><input type="radio" name="camera" value="user">FRONT</input><br>
</div>
<div id="reader">
<input type="range" min="0" max="1" step="0.05" id="thresh"><button id="read">OCR</button><span id="msg">processing...</span>
</div>
<div id="player">
<button id="run">RUN</button><input type="checkbox" id="loop">LOOP<br>
</div>
<textarea name="editor" id="editor" rows="3"></textarea>
<div id="log"></div>
<ul id="footage">
<li>Fork me on <a href="https://github.com/p-code-magazine/p-code">GitHub</a></li>
<li><a href="./magazine">Magazine</a></li>
</ul>
</div>
<script src="main.js" charset="utf-8"></script>
</body>
</html>