Sorting Algorithms Revisualized
imgur.com
imgur.com
Is it possible to map the RGB colorspace onto a colorblindness safe colorspace? This would be a cool feature that I feel Web Browsers could provide to be more accessible for their users
It's about more than colorblindness -- about how represent a steady linear scale with color and how to keep it faithful in grayscale.
http://medvis.org/2016/02/23/better-than-the-rainbow-the-mat...
The linked talk about the creation of the viridis colour map[0] actually spends a good ten minutes on explaining colour theory, and makes it look very simple in the process.
About ten minutes in it shows the "perceptual colour space" of a typical non-colourblind person. A few minutes later it shows the color spaces for people with various types of colourblindness.
Perhaps one could project one perceptual space into the other in a way that more-or-less preserves the original information, but essentially with more banding?
Multiple variant options are built into Android.
Even color blindness aside, the rainbow color map is bad because of the relative overrepresentation of green among other things. See https://www.research.ibm.com/people/l/lloydt/color/color.HTM
Sure, grayscale is safe. I don't think it's possible without losing some information.
By limiting the transformed colors to those a person is blind to, you limit the amount of information loss.
I think the ideal place to tackle this issue is as near to the display as possible. A screen purpose-built for the color-blind would be best, but redshift-esque software would do the job just as well.
"Red–green color blindness affects up to 8% of males and 0.5% of females of Northern European descent."
That's around 4% of the population, not 0.001%.
from The Free Dictionary:
"Noun. 'color blindness' - genetic inability to distinguish differences in hue"
and from https://en.wikipedia.org/wiki/Color_blindness
"Color blindness, also known as color vision deficiency, is the decreased ability to see color or differences in color.[2]
[...]
Red–green color blindness is the most common form, followed by blue–yellow color blindness and total color blindness.[2] Red–green color blindness affects up to 8% of males and 0.5% of females of Northern European descent.[2]"
Your very specific definition of colour blindness (i.e. 'colour blindness' = 'Achromatopsia') does not seem to be represented in the colloquial usage. Thus the parent of you is correct.
There is no such thing as "correct" in language, except in Europe where one or two countries have official standards (e.g. France). For English there is only colloquial usage and maybe the Oxford English Dictionary (Which 99% of the time agree with each other). Both of them state that "Color-blindness" is the accepted term referring to all conditions related to color deficiency.
> People usually don't use both for different meanings.
And welcome to English, where we have one word that encompasses any color-deficiencies, and we call that word "color-blindness".
It is used as a blanket term for any color-deficiency, including but not exclusive to red-green, yellow-blue, and monochrome vision. I can tell you now, that as a native English speaker, if you were to talk about "color blindness" to another native speaker, they will not assume that you mean Monochromacy specifically. In fact, they are more likely to think that you mean red-green color-blindness, since that is more common than Monochromacy. In any case, it is extremely rare to find usage that matches yours.
(Literally. The first reference in the Oxford English Dictionary is to Protanopia, not Monochromacy: https://en.oxforddictionaries.com/definition/colour-blind)
The author is clearly being tongue-in-cheek here and making a bit of a joke!
click on the computer science page to see the various sorting algos.
[0] https://franciscouzo.github.io/sort/
[1] https://github.com/franciscouzo/franciscouzo.github.io/tree/...