Description Usage Arguments Value Author(s) References Examples
This functions manipulates colours to simulate the effects of different kinds of colour blindness, and specifically dichromacy, in which only two of the usual three types of photoreceptors are present. There are three types, corresponding to the loss of red, green or blue photoreceptors.
1 2 |
shades |
One or more colours, in any suitable form (see
|
type |
The type of colour vision deficiency to simulate: protanopia
(red blindness), deuteranopia (green blindness) or tritanopia (blue
blindness). The latter is the rarest in the population. |
New colours of class "shade"
in LMS space, representing
projections of the original shades onto a submanifold appropriate to the
type of dichromacy being simulated.
Jon Clayden <code@clayden.org>
Brettel, H., ViƩnot, F. and Mollon, J.D. (1997). Computerized simulation of color appearance for dichromats. Journal of the Optical Society of America A 14(10):2647-2655.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.