-
Notifications
You must be signed in to change notification settings - Fork 117
/
index.html
65 lines (49 loc) · 2.14 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Scan Sequence</title>
<meta name="keywords" content="Interactive, Installation, Code, Art, Realtime, jeonghopark, jeongho park, 박정호, openFrameworks, creative code" />
<meta name="author" content="jeonghopark, jeongho park, 박정호" />
<meta name="publisher" content="jeonghopark, jeongho park, 박정호" />
<script type="text/javascript" src="js/p5.min.js"></script>
<script type="text/javascript" src="js/p5.dom.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<style type="text/css">
html, body {
height: 100%;
}
body {
background-color: #000;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
video {
display: none;
}
</style>
</head>
<body>
<a href="https://github.com/jeonghopark/scanseqjs"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/82b228a3648bf44fc1163ef44c62fcc60081495e/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png"></a>
<script type="text/javascript" id="cookieinfo"
src="js/cookieinfo.min.js"
data-linkmsg="Privacy Policy"
data-moreinfo="./privacypolicy.html">
</script>
</body>
<!-- ??? WebAudio -->
<script type="text/javascript">
// Existing code unchanged.
// window.onload = function() {
// var context = new AudioContext();
// }
// One-liner to resume playback when user interacted with the page.
// document.querySelector('button').addEventListener('click', function() {
// context.resume().then(() => {
// console.log('Playback resumed successfully');
// });
// });
</script>
<script type="text/javascript" src="js/Tone.js"></script>
</html>