michelf / sim-daltonism

A color blindness simulator for Mac and iOS
261 stars 20 forks source link

Feature: Ability to change the colors #14

Open mweibel opened 5 years ago

mweibel commented 5 years ago

Hi!

Sim Daltonism is an awesome app :) Thanks. Helps showing other people how I see stuff like logos or websites. I wonder if you could add a way to change the colors slightly? For example I have a protanopia weakness but the two modes provided in sim daltonism (protanopia / protanomaly) both don't quite match what I see when I e.g. point it at a color spectrum.

Thanks, keep up the great work 👍

michelf commented 5 years ago

Protanomaly is simulated by mixing the protanopia filter with normal/unfiltered colors. You can tweak the mixing ratio here in the code if you are willing to recompile the app. Perhaps you'll get a result that match better.

I'm not sure which values are really worth tweaking other than the one mentioned above. If you make some experiments, let me know.

I'm reticent to add knobs in the app for that though. It could add uncertainty for those who use it to check the accessibility of things. Right now, it seems to me that many use the various modes as a checklist. Add a slider and the checklist becomes a spectrum of possibilities; now you have the problem deciding which one you need to check.

michelf commented 4 years ago

Looking at this again, I wonder if the the bug fixed in issue #16 could have something to do with you not seeing the same colors when looking at a spectrum. Perhaps it's worth another look.

I'm also thinking of adding a way to change the mixing ratio for protanomaly in the preferences.