-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
309 lines (297 loc) · 14.6 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<!DOCTYPE html>
<html>
<head>
<title>Screen test tools</title>
<meta property="og:title" content="Screen test tools">
<meta property="og:type" content="website" />
<meta property="og:image" content="background.jpg">
<meta property="og:description" content="A bunch of tools for testing screen.">
<meta property="og:site_name" content="Jason Yu">
<script>
function removeQueryStrings() {
if (window.location.search) {
window.history.replaceState(null, null, window.location.pathname);
}
}
removeQueryStrings(); // Call the function immediately to remove query strings before page is fully loaded
function goto(route) {
var pathname = window.location.pathname;
var lastSlashIndex = pathname.lastIndexOf("/");
var currentUrl = window.location.origin + pathname.substring(0, lastSlashIndex).replace(/\/+$/, "") + window.location.search;
var newUrl = currentUrl + route;
window.open(newUrl);
}
</script>
</head>
<style>
.title {
position: relative;
}
.title-video {
width: 100%;
height: 6em;
overflow: hidden;
object-fit: fill;
}
.title-text {
position: absolute;
margin: 0;
inset: 0;
display: grid;
place-items: start;
overflow: hidden;
background-color: black;
color: white;
font-size: 90px;
mix-blend-mode: multiply;
}
th {
display: block;
}
tr {
border: solid 1px black;
margin: 8px;
display: block;
}
</style>
<body style="min-width: 50em;font-family: "Times New Roman", Georgia, serif;">
<table>
<tr style="border: none;">
<th>
<div class="title">
<video class="title-video" autoplay loop>
<source src="./HDR/white/white.webm" type="video/webm" />
<source src="./HDR/white/white1.mp4" type="video/mp4" />
<source src="./HDR/white/white2.mp4" type="video/mp4" />
</video>
<p class="title-text">Screen test tools</p>
</div>
</th>
</tr>
<tr>
<td>HDR</td>
<td>
<button onclick="goto(`/HDR`)">test</button>
<span onclick="goto(`/HDR/white`)">⬜️</span>
<span onclick="goto(`/HDR/red`)">🟥</span>
<span onclick="goto(`/HDR/green`)">🟩</span>
<span onclick="goto(`/HDR/blue`)">🟦</span>
</td>
</tr>
<tr>
<td>Gradient</td>
<td>
<a href="gradient">simulate from rtings' gradient testing picture</a>
</td>
</tr>
<tr>
<td>Black uniformity</td>
<td>
<a href="black-uniformity">simulate from rtings' black uniformity test pattern picture</a>
</td>
</tr>
<tr>
<td>Solid color</td>
<td>
<form>
<label for="solid-color-red">Red:</label>
<input type="number" id="solid-color-red" name="solid-color-red" value="0.5" min="0" max="1"
step="0.01"><br>
<label for="solid-color-green">Green:</label>
<input type="number" id="solid-color-green" name="solid-color-green" value="0.5" min="0" max="1"
step="0.01"><br>
<label for="solid-color-blue">Blue:</label>
<input type="number" id="solid-color-blue" name="solid-color-blue" value="0.5" min="0" max="1"
step="0.01"><br>
<button onclick="gotoColor()">test</button>
<span onclick="gotoColor(0,0,0)">⬛️</span>
<span onclick="gotoColor(0.545098039215686,0.270588235294118,0.074509803921569)">🟫</span>
<span onclick="gotoColor(1,0,0)">🟥</span>
<span onclick="gotoColor(1,0.647058823529412,0)">🟧</span>
<span onclick="gotoColor(1,1,0)">🟨</span>
<span onclick="gotoColor(0,1,0)">🟩</span>
<span onclick="gotoColor(0,1,1)" style="color:cyan"> █</span>
<span onclick="gotoColor(0,0,1)">🟦</span>
<span onclick="gotoColor(1,0,1)">🟪</span>
<span onclick="gotoColor(1,1,1)">⬜️</span>
</form>
<script>
function gotoColor(red, green, blue) {
const r = red ?? document.getElementById("solid-color-red").value;
const g = green ?? document.getElementById("solid-color-green").value;
const b = blue ?? document.getElementById("solid-color-blue").value;
goto(`/color?r=${r}&g=${g}&b=${b}`);
}
</script>
</td>
</tr>
<tr>
<td>Local Dimming</td>
<td>
<form>
<a style="display: block;" href="local-dimming/test">Tool for checking how many rows and columns on
your FALD monitor</a>
<label for="row">Row:</label>
<input type="number" id="row" name="row" value="32"><br>
<label for="column">Column:</label>
<input type="number" id="column" name="column" value="36"><br>
<button onclick="tryLocalDimming()">Simulate local dimming</button>
<p>
Sony X90L (80 zones)
<button onclick="gotoLocalDimming(8, 10)">Simulate</button>
<a target="_blank" href="https://www.youtube.com/watch?v=a9afnA9519o">*reference</a>
</p>
<p>
Sony INZONE M9 II (96 zones)
<button onclick="gotoLocalDimming(8, 12)">Simulate</button>
<a target="_blank" href="https://pcmonitors.info/sony/sony-inzone-m9-ii-160hz-4k-uhd-ips-with-hdmi-2-1/#:~:text=Marketing%20materials%20seem%20to%20show%20a%2012%20x%208%20array%20for%2096%20dimming%20zones%2C%20just%20like%20the%20original%20version">*reference</a>
</p>
<p>
Xiaomi Smart Display S Mini LED 55 (308 zones)
<button onclick="gotoLocalDimming(14, 22)">Simulate</button>
<a target="_blank" href="https://poe.com/s/2HrHmFMFWP4INXovZ00O">(guess by Claude)</a>
</p>
<p>
Sony BRAVIA 7 65" (480 zones)
<button onclick="gotoLocalDimming(30, 16)">Simulate</button>
<a target="_blank" href="https://www.rtings.com/discussions/MNOY1NKli6zZOYpo/review-updates-sony-d#comment-141526">*reference</a>
</p>
<p>
Apple Pro Display XDR (576 zones)
<button onclick="gotoLocalDimming(18, 32)">Simulate</button>
<a target="_blank" href="https://youtu.be/LY_pUZbZ5zs?feature=shared&t=317">*reference</a>
</p>
<p>
INNOCN 27M2V (1152 zones)
<button onclick="gotoLocalDimming(36, 32)">Simulate</button>
<a target="_blank" href="https://www.youtube.com/watch?v=AHJ0yUUuPkE">(guess base on panel)</a>
</p>
<p>
Lenovo P27pz-30 (1152 zones)
<button onclick="gotoLocalDimming(24, 48)">Simulate</button>
<a target="_blank" href="https://www.bilibili.com/video/BV1a64y1N7Lh/">*reference</a>
</p>
<p>
Samsung Odyssey Neo G8 (1196 zones)
<button onclick="gotoLocalDimming(26, 46)">Simulate</button>
<a target="_blank" href="https://www.youtube.com/watch?v=3cIxZQHuCiY">*reference</a>
</p>
<p>
Sony BRAVIA 9 65" (1512 zones)
<button onclick="gotoLocalDimming(28, 54)">Simulate</button>
<a target="_blank" href="https://www.rtings.com/discussions/m0IRmeAXtPFn-eGA/review-updates-sony-bravia-xr-xr90#comment-140263">*reference</a>
</p>
<p>
LG 27GR95UM (1560 zones)
<button onclick="gotoLocalDimming(30, 52)">Simulate</button>
<a target="_blank" href="https://www.youtube.com/watch?v=TqkW-mf18kk">*reference</a>
</p>
<p>
Apple Macbook Pro 14 (~2000 zones)
<button onclick="gotoLocalDimming(36, 58)">Simulate</button>
<a target="_blank" href="https://sl.bing.net/kbdfbfiw9aC">(guess by ChatGPT)</a>
</p>
<p>
TCL C855 75" (2160 zones)
<button onclick="gotoLocalDimming(36, 60)">Simulate</button>
<a target="_blank" href="https://www.youtube.com/watch?v=SixONfjwb7o">*reference</a>
</p>
<p>
Philips 27B1U7903 (2304 zones)
<button onclick="gotoLocalDimming(36, 64)">Simulate</button>
<a target="_blank" href="https://www.youtube.com/watch?v=cOXfw5vNePE">*reference</a>
</p>
<p>
Apple Macbook Pro 16 (~2500 zones)
<button onclick="gotoLocalDimming(40, 63)">Simulate</button>
<a target="_blank" href="https://sl.bing.net/hDOg5y9bfqe">(guess by ChatGPT)</a>
</p>
<p>
Hisense UX (5000 zones)
<button onclick="gotoLocalDimming(50, 100)">Simulate</button>
<a target="_blank"
href="https://www.rtings.com/discussions/yxdaRJ3H-DA7jzFV/review-updates-hisense-ux#comment-90841">*reference</a>
</p>
<p>
REDMAGIC GM001S (5088 zones)
<button onclick="gotoLocalDimming(48, 106)">Simulate</button>
<a target="_blank" href="https://www.youtube.com/watch?v=6s5E1uujK9Q">*reference</a>
</p>
<p>
TCL X11G Max (20520 zones)
<button onclick="gotoLocalDimming(108, 190)">Simulate</button>
<a target="_blank" href="https://youtu.be/d8dlz5LWq3E?feature=shared&t=229">*reference</a>
</p>
<p>
TCL X955 Max (20736 zones)
<button onclick="gotoLocalDimming(108, 192)">Simulate</button>
<a target="_blank" href="https://youtu.be/UBGkfxncls8?feature=shared&t=233">*reference</a>
</p>
<p>
Hisense 110UX (~40000 zones)
<button onclick="gotoLocalDimming(150, 267)">Simulate</button>
<a target="_blank" href="https://sl.bing.net/gSKA4KHz2bI">(guess by ChatGPT)</a>
</p>
<p>
Hisense U9DG (2073600 zones)
<button onclick="gotoOLED(1920, 1080)">Simulate</button>
<a target="_blank" href="https://youtu.be/qSGsMN9UGDY?t=127">*by 1080p LCD in front of 132
zones</a>
</p>
<p>
Sony BVM-HX310 (8847360 zones)
<button onclick="gotoOLED(4096, 2160)">Simulate</button>
<a target="_blank" href="https://www.youtube.com/watch?v=7Ee74qdPcmY">*Dual layer 4K LCD</a>
</p>
<p>
OLED/microLED (per pixel)
<button onclick="gotoNativeOLED()">Simulate</button>
</p>
<button onclick="gotoNoLocalDimming()">No local dimming</button>
</form>
<script>
function tryLocalDimming() {
var row = document.getElementById("row").value;
var column = document.getElementById("column").value;
goto(`/local-dimming?rows=${row}&columns=${column}`);
}
function gotoLocalDimming(row, column) {
goto(`/local-dimming?rows=${row}&columns=${column}`);
}
function gotoOLED(width, height) {
goto(`/local-dimming/oled?width=${width}&height=${height}`);
}
function gotoNativeOLED() {
goto(`/local-dimming/oled`);
}
function gotoNoLocalDimming() {
goto(`/local-dimming?rows=1&columns=1`);
}
</script>
</td>
</tr>
<tr>
<td>Aspect ratio</td>
<td>
<form>
<label for="x">x:</label>
<input type="number" id="aspect-ratio-x" name="aspect-ratio-x" value="21"><br>
<label for="y">y:</label>
<input type="number" id="aspect-ratio-y" name="aspect-ratio-y" value="9"><br>
<label for="videoId">videoId:</label>
<input type="string" id="aspect-ratio-videoId" name="aspect-ratio-videoId" value="y6120QOlsfU"><br>
<button onclick="gotoAspectRatio()">Simulate aspect ratio</button>
</form>
<script>
function gotoAspectRatio() {
const x = document.getElementById("aspect-ratio-x").value;
const y = document.getElementById("aspect-ratio-y").value;
const videoId = document.getElementById("aspect-ratio-videoId").value;
goto(`/aspect-ratio?x=${x}&y=${y}&v=${videoId}`);
}
</script>
</td>
</tr>
</table>
</body>
</html>