forked from patcat/RealityFilter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (55 loc) · 1.55 KB
/
index.html
File metadata and controls
57 lines (55 loc) · 1.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Reality Filter</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
margin: 0px;
overflow: hidden;
}
#webglviewer {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 90px;
z-index: 100;
}
.select,
.checkboxes {
line-height: 30px;
}
video {
visibility: hidden;
}
</style>
</head>
<body>
<div class="select">
<label for="videoSource">Video source: </label>
<select id="videoSource"></select>
</div>
<div class="select">
<label for="rotation">Rotate: </label>
<select id="rotation">
<option value="0">0</option>
<option value="180">180</option>
</select>
</div>
<div class="checkboxes">
<label for="horizontal_mirror">Horizontal Mirror </label>
<input type="checkbox" name="horizontal_mirror" value="H">
<span> - </span>
<label for="vertical_mirror">Vertical Mirror </label>
<input type="checkbox" name="vertical_mirror" value="V">
</div>
<div id="webglviewer"></div>
<script src="./js/three.min.js"></script>
<script src="./js/StereoEffect.js"></script>
<script src="./js/close-pixelate-canvas.js"></script>
<script src="./js/adapter.js"></script>
<script src="./js/main.js"></script>
</body>
</html>