Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement (port) color daltonization of cpp-based libzeug (widgetzeug) #3

Open
cgcostume opened this issue Jan 26, 2022 · 0 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@cgcostume
Copy link
Member

Moved from webgl-operate:

enum ColorVisionDeficiency
{
    Protanope   // reds are greatly reduced   (1% men)
,   Deuteranope // greens are greatly reduced (1% men)
,   Tritanope   // blues are greatly reduced  (0.003% population)
};

Implementation: ColorVisionDeficiency.zip
or online: ColorVisionDeficiency.cpp

This could be either added directly to the color.ts or as additional util in, e.g., colordeficiency.ts. Please not that the libzeug implementation uses sRGB and the current color class is currently favoring Adobe-RGB. Also, no unnecessary/additional xyz-rgb or rgp-xyz conversion should be implemented.

@cgcostume cgcostume added enhancement New feature or request help wanted Extra attention is needed labels Jan 26, 2022
@cgcostume cgcostume changed the title Implement (port) color daltonization of C++-based libzeug (widgetzeug) Implement (port) color daltonization of cpp-based libzeug (widgetzeug) Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant