function generateColors(difficulty, blacklist) {
...
let sample = Math.floor(Math.min(Math.max(0, 1-Math.pow(1-difficulty, 1.5)), .99)*5);
let distance = (5 - sample)/5;
...
}
function setupRound(blacklist) {
...
const data = generateColors(currentRound/totalRounds, blacklist);
...
}
Plotting that first magic: https://lucb1e.com/randomprojects/js/testformula.htm#%24%28%... round# difference
0-- 2 5
3-- 5 4
6-- 9 3
10--13 2
14--20 1
The "blacklist" parameter prevents that you get the same challenge twice. Note also that it submits every answer to the server (fine imo, but I think it would be even nicer if this was mentioned on the page)Marginally related. I paint oils as a hobby, and my studio gets northern light, usually overcast and cloudy, during the day. Differentiating tiny color variations under those conditions is very easy, and in general your objective "pitch perfect" impression of color is also pretty accurate. However, I've painted in the same room at night under a "warm" LED bulb, and been absolutely shocked at how wrong and blue everything turned out when seen in the light of day. Not just that, but the hues I intended to be close to one another are much farther apart than they appeared under LED lighting.
So if lighting conditions can shift not just your perception of a color, but also its relationship to the ones around it, then I think how much more does your screen gamma and range alter that? A fair test would be printed on the exact same Heidelberg in 4 colors.
(Source: doing object photography.)
My studio gets very little natural light, so selecting optimum light sources is crucial. At one time the most practical option was D50 compliant fluorescent tubes, but these were only fairly acceptable.
Situation with LED lamps is also difficult. Even CRI 90 is inadequate, mainly poor red emission and excessive blue radiation. However D50 compliant LED fixtures are available if somewhat more expensive vs. typical LED lamps.
One vendor worth checking out is Waveform Lighting [0]. They offer several types of products with CRI 95 and CRI 99. I've been using their D50 'shop light' for several months and find it very satisfactory.
I suppose if you want to get closer to sunlight, you need a carbon arc, which is only a few hundred degrees cooler and again, a perfect black body emitter.
> Swear on me mum I saw a game about kerning and alignment years ago on HN
Can't Unsee - https://news.ycombinator.com/item?id=27188989 - May 2021 (126 comments)
I got 100/100 on the first six, except for "Yves" where I got 70/100. I think they're wrong on that one. From any distance, the v should really nestle beneath the Y.
Gonna send this to all my design nerd friends, thank you.
“As part of the next video, which will be out in a few weeks, l'd like to invite you to take part in an experiment about color perception. If you don't experience color blindness, l'd greatly appreciate it if you could take this test. Feel free to try it as many times as you like, think about it as a game!”
One should only take such tests seriously if one's using a properly calibrated monitor and it's viewed under ideal viewing conditions.
I wonder how much of this would come down to screen calibration / color accuracy? If everything's consistently off in 1 direction I guess not much, but I would imagine certain shades might appear effectively the same on some cheaper screens?
Let's say the device has a "24 bit color display". What about eye protection color shifting? This limits the color space used could reduce the effective remaining bit depth. Or maybe they do temporal dithering to get more bit depth? Or maybe the 24 bits are already achieved with temporal dithering?
It does not need to be a calibrated display, but a cheap tablet in sunlight will be worse than a color grading monitor in a reference environment.
I hope they also register the devices used and analyze the statistics on that.
I would only expect poor calibration to break this test for colors near the edge of the display's gamut, or if there's a drastic-enough shift that the color space's lack of perceptual uniformity means a numerical difference that should have been visible ends up in a different part of the color space where that same numerical difference is not perceptible.
BTW, I used to calibrate color grading equipment for the film processing industry and the controls were strict, 18% gray walls, D65 calibration sources, densitometric equipment, Ishihara tests for me, etc. so I'm well aware of the issues.
And related, I once had an 'eye migrane'. During that half an hour, the figures of a clock disappeared the moment i looked at them.
Another related effect is flickering of badly designed lighting only in my peripheral vision. When looking directly at the lights they look fine, but when the lights are in my peripheral vision they appear to flash distractingly. I think the peripheral vision is optimised to detect fast changes/movements. At least, that makes sense based on evolution.
I've also had eye floaters which cause things to distort and can be hard to see through. For about 6 months I had a large one in the center of my left eye vision, which was a bit scary when I discovered I might not see a car reflected in my wing mirror.
During an episode I usually first notice it as it is entering my focal region and interfering with reading. Then it sort of moves across my field of vision until it’s in my peripheral, and then goes away altogether.
I've had it happen many times and it's usually followed by a regular headache. Quite terrifying the first few times it happened to me. Felt like I was losing my sight.
Spending the whole night gaming when I was younger would sometimes trigger it in the morning. Thanks to not having any more time for that, it hasn't happened in years.
Got 14/20
The way your brain manipulates your vision 24/7, with no way to get around that, is truly crazy to me. There's all sorts of effects in your visual system like edge detection and certain types of stimulus suppression that it's crazy we even feel like reality is coherent.
Are you among the 1 in 255 women and 1 in 12 men who have some form of color vision deficiency? If you work in a field where color is important, or you’re just curious about your color IQ, take our online challenge to find out. Based on the Farnsworth Munsell 100 Hue Test, this online challenge is a fun, quick way to better understand your color vision acuity.
https://www.xrite.com/hue-test
(My memory is that the full test used to be online.)
By the way, I keep Night Shift enabled all the time: <https://i.imgur.com/LGkSlJZ.png>. I don't know how much it matters in a game like this.
See also <https://susam.net/myrgb.html> for a colour guessing game I wrote last year.
Probably significantly since it explicitly tells you to disable any blue light filters on your screen.
I think the website needs to be more explicit that this is trying to gather data and that deviating from the test parameters will skew the results.
The first time I kept my eyes fixed in the same place roughly in the middle which clearly wasn't a good idea. On the second attempt I glanced between each circle in turn, trying to discern the difference over two points in time rather than two points in space.
Interesting idea though. I wonder what the distribution looks like?
As others have said, a lot of this also comes down to what monitor and OS you're using, glossy/matte screen type, interior lighting and how everything is configured. This will be a lot easier with an OLED and all but impossible with an old TN panel. And whether HDR is enabled or sRGB mode, etc.
I have two monitors stacked vertically and this loaded on the top one and I'm fairly sure the latter was as big a factor as actual difference for the least-varying challenges.
I’m not in any way involved with art or graphic design or have any experience working with anything to do with colours so I can’t chalk it up to experience.
At about 13/20 they all started to look the same. I even turned off truetone at like 16.
I ended up scoring 15/20, but it's more like 12/20 and 3 lucky guesses.
But then I'm well known to not know or care about subtle colour differences.
Wonder how big an influence the type and quality of screen has. Do OLEDS give an advantage for instance?
At the end it says I can play again, because it'll generate more data. But for what?
It'd be cool to see some stats, or learn a bit more about what I just did...
I'd be curious to see some sort of score for each in terms of similarity in terms of human perception, just to get a scale of difficulty.
I think this must be a low light optical illusion - something to do with different sensitivity in center of eyes vs peripheral. Will try again in the daytime.
The dark-mode browser extension I use changes the text from black to white on that page, which I hadn't noticed wasn't the original text color until you pointed out the poor readability of the black text.
Need some interesting optical illusion type of posts on HN!
For those reporting scores: please also report device type, like LCD/OLED, or which phone model if applicable. Tweakers.net has a large database of screen color measurements. As mentioned in e.g. https://news.ycombinator.com/item?id=43746400, it can make quite a difference
My 18 score was on an Oppo Reno8, the 16 score on the not-known-bad screen is some ~2008 display. On the former, Tweakers reports an average color error of 3.42 ΔE2000, 9.58 ΔEITP, or 2.60 ΔE2000 if white is excluded