1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > Get User Media Code Along!</ title >
6+ < meta name ="viewport " content ="width=640, initial-scale=1.0 ">
7+ < link rel ="stylesheet " type ="text/css " href ="/c/styles.css ">
8+ </ head >
9+ < body >
10+
11+ < section id ="calibration ">
12+
13+ < div id ="camera ">
14+ < canvas id ="canvas "> </ canvas >
15+ < video id ="source " playsinline autoplay muted > </ video >
16+
17+ < ins id ="tv ">
18+ <!--
19+ <ins id="tv_white"></ins>
20+ <ins id="tv_red"></ins>
21+ <ins id="tv_green"></ins>
22+ <ins id="tv_blue"></ins>
23+ <ins id="tv_cyan"></ins>
24+ <ins id="tv_magenta"></ins>
25+ <ins id="tv_yellow"></ins>
26+ <ins id="tv_black"></ins>
27+ -->
28+ </ ins >
29+
30+ < ins id ="tv_wall_devider "> </ ins >
31+
32+ < ins id ="wall "> </ ins >
33+ </ div >
34+
35+
36+
37+
38+ < form id ="controls ">
39+ < button id ="calibrate_init "> INIT</ button >
40+ < button id ="calibrate_white "> WHITE</ button >
41+ < button id ="calibrate_red "> RED</ button >
42+ < button id ="calibrate_green "> GREEN</ button >
43+ < button id ="calibrate_blue "> BLUE</ button >
44+ < button id ="calibrate_cyan "> CYAN</ button >
45+ < button id ="calibrate_magenta "> MAGENTA</ button >
46+ < button id ="calibrate_yellow "> YELLOW</ button >
47+ < button id ="calibrate_off "> OFF</ button >
48+ </ form >
49+ < div id ="tv_color_led "> </ div >
50+ < div id ="wall_color_led "> Color Accuracy: 0%</ div >
51+ < div id ="color_text "> ...</ div >
52+ < br > < br >
53+ < button id ="calibrate_apply "> APPLY</ button >
54+
55+ </ section >
56+
57+ < script src ="https://colorjs.io/dist/color.global.js "> </ script >
58+ < script src ="https://webrtc.github.io/adapter/adapter-latest.js "> </ script >
59+ < script src ="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js "> </ script >
60+ < script src ="https://unpkg.com/fast-average-color/dist/index.browser.min.js "> </ script >
61+ < script src ="/c/script.js "> </ script >
62+
63+ </ body >
64+ </ html >
0 commit comments