michelf / sim-daltonism

A color blindness simulator for Mac and iOS
256 stars 18 forks source link

Purplish color in deeply saturated blues #16

Closed michelf closed 4 years ago

michelf commented 4 years ago

There appears to be a problem with very saturated blues. This is with Sim Daltonism:

Capture d’écran 2020-06-16 à 7 24 44

And this is with Coblis:

Capture d’écran 2020-06-16 à 7 29 34

From the page description, it seems they're using the same algorithm by Matthew Wickline and HCIRN as I use in Sim Daltonism, which is part of jsColorblindSimulator. The results are pretty similar too, except for that purplish tint in the deeply saturated blues.

michelf commented 4 years ago

And this is with Sim Daltonism 1.2 (can be downloaded here):

Capture d’écran 2020-06-17 à 12 22 51

Looks like the problem was introduced while translating the algorithm to an OpenGL shader for 2.0.