-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (49 loc) · 2.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Get User Media Code Along!</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="photobooth">
<div class="controls">
<div class="filters-container">
<button class="photo-taker">Take Photo</button>
<button class="red-effect">Red Filter</button>
<button class="rgb-effect">Rgb Filter</button>
<div class="css-filters">
<button class="grayscale-effect" data-filtername="grayscale" data-filtervalue="100%">GrayScale</button>
<button class="blur-effect" data-filtername="blur" data-filtervalue="5px">Blur</button>
<button class="huerotate-effect" data-filtername="hue-rotate" data-filtervalue="180deg">Huerotate</button>
<button class="invert-effect" data-filtername="invert" data-filtervalue="100%">Invert</button>
<button class="sepia-effect" data-filtername="sepia" dana-filtervalue="100%">Sepia</button>
<button class="saturate-effect" data-filtername="saturate" data-filtervalue="8">Saturate</button>
</div>
</div>
<div class="rgb">
<button class="green-screen-effect">Green Screen</button>
<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="./snap.mp3" hidden></audio>
<script src="scripts.js"></script>
</body>
</html>