-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
139 lines (139 loc) · 5.68 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>
Your very own Photobooth!
</title>
<link href='http://fonts.googleapis.com/css?family=Merriweather+Sans' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Text+Me+One' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/photobooth.css">
</head>
<body>
<div id="drapes">
<img id="drapes-left" src="images/curtain-left.jpg">
<img id="drapes-right" src="images/curtain-right.jpg">
<span id="instruction">
<em>
Click anywhere to open the photobooth.
</em>
</span>
</div>
<a href="https://github.com/cdibened/photobooth"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<div id="wrapper" class="hide">
<div style="position:relative;">
<div id="booth">
<video id="video"></video>
<div id="flash" class="hide"></div>
</div>
<button id="startbutton" class="disabled">
<img src="images/camera.png" />
</button>
<button id="timerbutton" class="disabled">
<img id="timer" src="images/timer.png" />
<label id="countdown" class="hide">
3
</label>
</button>
<label id="delayNumber" class="disabled"></label>
<input type="range" id="delay" name="delay" min="1" max="5" value="3" disabled>
<label class="delaylabel">
Timer Delay
</label>
</div>
<div id="effects">
<span>
<label id="blurNumber" class="disabled">
0
</label>
<input type="range" id="blur" name="blur" min="0" max="10" value="0" step="0.1"
disabled>
<label id="blurLabel">
Blur
</label>
</span>
<span>
<label id="grayscaleNumber" class="disabled">
0
</label>
<input type="range" id="grayscale" name="grayscale" min="0" max="10" value="0"
step="0.1" disabled>
<label id="grayscaleLabel">
Grayscale
</label>
</span>
<span>
<label id="sepiaNumber" class="disabled">
0
</label>
<input type="range" id="sepia" name="sepia" min="0" max="1" value="0"
step="0.1" disabled>
<label id="sepiaLabel">
Sepia
</label>
</span>
<span>
<label id="hue-rotateNumber" class="disabled">
0deg
</label>
<input type="range" id="hue-rotate" name="hue-rotate" min="0" max="330"
value="0" step="1" disabled>
<label id="hue-rotateLabel">
Hue-Rotate
</label>
</span>
<span>
<label id="brightnessNumber" class="disabled">
0
</label>
<input type="range" id="brightness" name="brightness" min="0" max="10"
value="0" step="0.1" disabled>
<label id="brightnessLabel">
Brightness
</label>
</span>
<span>
<label id="invertNumber" class="disabled">
0
</label>
<input type="range" id="invert" name="invert" min="0" max="1" value="0"
step="0.1" disabled>
<label id="invertLabel">
Invert
</label>
</span>
<span>
<label id="contrastNumber" class="disabled">
0
</label>
<input type="range" id="contrast" name="contrast" min="0" max="10" value="0"
step="0.1" disabled>
<label id="contrastLabel">
Contrast
</label>
</span>
<span>
<label id="saturateNumber" class="disabled">
0
</label>
<input type="range" id="saturate" name="saturate" min="0" max="10" value="0"
step="0.1" disabled>
<label id="saturateLabel">
Saturate
</label>
</span>
</div>
<div id="filmstrip">
<ul id="pics"></ul>
</div>
<button id="trash" class="disabled">
<img src="images/trash.png" />
</button>
<canvas id="canvas"></canvas>
</div>
<audio id="snap" preload="auto" src="sounds/snap.wav"></audio>
<audio id="curtain" preload="auto" src="sounds/curtain.wav"></audio>
<script src="js/prefixfree.js"></script>
<script src="js/photobooth.js"></script>
</body>
</html>