/
index.html
67 lines (67 loc) · 3.01 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>webcam-theremin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta property="og:title" content="webcam-theremin">
<meta property="og:url" content="http://the.mohayonao.com/theremin/">
<link rel="shortcut icon" href="/favicon.ico" id="favicon">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="index.css">
</head>
<body>
<div id="wrap">
<h1 class="title">webcam-theremin</h1>
<div id="app">
<canvas id="canvas" width="320" height="240"></canvas>
<video id="cam" width="640" height="480" autoplay class="hidden"></video>
<h2>1. Accept to use your webcam (use WebRTC)</h2>
<h2>2. Right hand: control pitch</h2>
<h2>3. Left hand: switch on/off</h2>
</div>
<div class="google-adsense">
<script>
google_ad_client = "ca-pub-2530516645891329";
if (window.screen.width > 700) {
/* the-mohayonao-com */
google_ad_slot = "4193847114";
google_ad_width = 728;
google_ad_height = 90;
} else {
/* the-mohayonao-com-mobile */
google_ad_slot = "1312602715";
google_ad_width = 320;
google_ad_height = 50;
}
</script>
<script src="//pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>
<div id="push"></div>
</div>
<div id="footer">
<div class="container">
<ul class="list-inline">
<li><a href="/"><img src="/favicon.ico"><span>Top Page</span></a></li>
<li><a href="javascript:void(utils.tweet({text:'@mohayonao',url:'http://the.mohayonao.com/theremin/'}));"><img src="/twitter.png"><span>Contact</span></a></li>
<li><a href="https://github.com/mohayonao/the.mohayonao.com/tree/master/public/theremin/" target="github"><img src="/github.png"><span>View Source on GitHub</span></a></li>
</ul>
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-21613416-9', 'auto');
ga('send', 'pageview');
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js"></script>
<script src="/utils.js"></script>
<script src="//mohayonao.github.io/neume.js/build/neume.min.js"></script>
<script src="//mohayonao.github.io/neume.js/plugins/comb.js"></script>
<script src="subcollider.js"></script>
<script src="index.js"></script>
</body>
</html>