-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (34 loc) · 1.37 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
<title>Beauty Dish</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<script src="js/chroma.min.js"></script>
<script src="js/interact.min.js"></script>
<div id="dish"></div>
<div id="picker">
<h3>💡<br>Video Conference Beauty Dish<br>💡️</h3>
<h5>Maximize Window 🖥️</h5>
<h5>Brightness ➡️ 100%</h5>
<br>
<p><label for="slider">Color temperature: <span id="output"></span>K</label></p>
<input type="range" id="slider" name="volume" min="3000" max="8000">
<p><a id="toggleAdvanced" href="#">Show/Hide Advanced Options</a></p>
<div id="advanced" class="hidden">
<p>Write your own <a href="https://vis4.net/chromajs/" target="_blank">chroma.js</a> code to set the color</p>
<textarea id="code" placeholder="chroma({ l:80, c:25, h:200 })" rows="3" cols="35">chroma({ l:80, c:25, h:200 })</textarea>
<p>Preview: <span id="thumbnail"> </span><span id="code_output">#f5f5f5</span></p>
<button type="submit" id="submit">Submit</button>
</div>
</div>
<button id="webcamPreview" onclick="void(0)">Enable Webcam Preview</button>
<div id="videoContainer" class="hidden">
<button id="resizeWebcamPreview"></button>
<video id="videoElement" autoplay playsinline></video>
</div>
<script src="js/index.js"></script>
</body>
</html>