cvd_simulator library
Colour (color) blindness (colour vision deficiency, or CVD) affects approximately 1 in 12 men (8%) and 1 in 200 women. In the UK there are approximately 3 million colour blind people (about 4.5% of the entire population), most of whom are male. Worldwide, there are estimated to be about 300 million people with colour blindness, almost the same number of people as the entire population of the USA! Source
So, developers should make sure CVD does limit users from using their apps.
This package helps developers with normal color vision visualize CVD's effect.
Classes
- CVDSimulation
- A CVDSimulation provides a matrix that applies the simulation to an pixel.
- CVDSimulator
- Adds an ColorFilter on top of the child, in order to apply the simulation.
Enums
- MachadoCVDSimulation
- Color vision deficiency as described by the paper 'A Physiologically-based Model for Simulation of Color Vision Deficiency' by Gustavo Machado