-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (35 loc) · 2.13 KB
/
index.html
File metadata and controls
35 lines (35 loc) · 2.13 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
<html>
<head>
<meta property="og:url" content="https://positlabs.github.io/selectif" />
<meta property="og:title" content="Selectif" />
<meta property="og:description" content="Interactive demo of selective sampling" />
<meta property="og:image" content="https://positlabs.github.io/selectif/images/og.jpg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="dat.gui.css">
<script src="dat.gui.min.js"></script>
</head>
<body>
<video></video>
<img id="source-image" src="images/lincoln.jpg" hidden>
<!-- <img id="source-image" src="images/washington.jpg" hidden> -->
<!-- <img id="source-image" src="images/nick-cage.png" hidden> -->
<!-- <img id="source-image" src="images/jeff-goldblum.jpg" hidden> -->
<div id="inputs">
<div class="option" type='image' size='29' count='10'><img src="images/lincoln.jpg"></div>
<div class="option" type='image' size='23' count='10'><img src="images/washington.jpg"></div>
<div class="option" type='image' size='2' count='29'><img src="images/nick-cage.png"></div>
<div class="option" type='image' size='105' count='15'><img src="images/jeff-goldblum.jpg"></div>
<div class="option user-input" type='webcam' title='webcam'>📹</div>
<div class="option user-input" type='photo-upload' title='upload photo'>🖼️<input type="file" accept="image/*"></div>
</div>
<canvas id="source"></canvas>
<canvas id="result"></canvas>
<footer>
Inspired by
<a href="https://www.instagram.com/p/BmGvIBbhWPs/?hl=en&taken-by=kensukekoike">Kensuke Koike's Avatar</a>
</footer>
<a href="https://github.com/positlabs/selectif"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub"></a>
<script src="selectif.js"></script>
</body>
</html>