Color vision deficiency

From JSXGraph Wiki
Revision as of 18:11, 23 June 2011 by Michael (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

JSXGraph can give a rough impression about how color blind people see your work. It is possible to emulate three types of color vision deficiency: Protanopia, Deuteranopia, and Tritanopia.

Consider this geometric construction from the Euler line example.

Code

// To enable color vision deficiency emulation just use
board.emulateColorblindness(deficieny);
// where deficieny is a string equal to either 'protanopia', 'deuteranopia' or 'tritanopia'. To disable it use
board.emulateColorblindness();
// without any parameters.

References

http://www.squarecirclez.com/blog/math-and-color-blindness

http://en.wikipedia.org/wiki/Color_blindness