We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am pleased to announce the creation of ColorBlindness, a color blindness simulation library.
With just two lines of code, you can simulate any form of colorblindness on your sketch. The simulation implementation is FAST, so can run in real-time without noticeably slowing down your sketch. The library can also do Daltonization, a color correction algorithm for making things easier for color blind people to see.
Documentation is available here:
The methodology used in the library is carefully researched and documented here:
My library also supports any kind of algorithm customization. If you want to tweak the parameters or if you have different ideas about how color blindness simulation should be done, my library will support your efforts to implement your ideas.
Note that in the process of researching this I figured out that many open source Daltonization tools out there contain a math error for Tritanopia, a rare form of color blindness.
The library comes with many examples, including educational sketches for learning about human color vision.
Please have a look and provide feedback!