-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (42 loc) · 1.6 KB
/
index.html
File metadata and controls
54 lines (42 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/style.css" />
<title>Webcam Fun</title>
<link rel="shortcut icon" href="images/icon.svg" type="image/x-icon" />
</head>
<body>
<a class="back-home" href="../../index.html">Back to Home</a>
<div class="wrapper">
<div class="photobooth">
<div class="controls">
<button onClick="takePhoto()">Take Photo</button>
<div class="rgb">
<label for="rmin">Red Min:</label>
<input type="range" min="0" max="255" name="rmin" />
<label for="rmax">Red Max:</label>
<input type="range" min="0" max="255" name="rmax" />
<br />
<label for="gmin">Green Min:</label>
<input type="range" min="0" max="255" name="gmin" />
<label for="gmax">Green Max:</label>
<input type="range" min="0" max="255" name="gmax" />
<br />
<label for="bmin">Blue Min:</label>
<input type="range" min="0" max="255" name="bmin" />
<label for="bmax">Blue Max:</label>
<input type="range" min="0" max="255" name="bmax" />
</div>
</div>
<canvas class="photo"></canvas>
<video class="player"></video>
<div class="strip"></div>
</div>
<audio class="snap" src="audio/shutter.mp3" hidden></audio>
</div>
<script src="js/script.js"></script>
</body>
</html>