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

Adaptability enhancement: daltonization filter for people with colorblindness #689

Open
jgordon510 opened this issue Mar 29, 2021 · 1 comment

Comments

@jgordon510
Copy link

jgordon510 commented Mar 29, 2021

I work for a puzzle company which uses Phaser CE in our games. We wanted a way to implement daltonization, which is an algorithm to compensate for the three major types of colorblindness.

You can read more about it here: http://www.daltonize.org/2010/05/lms-daltonization-algorithm.html

I created a phaser filter class and adapted the algorithm to work with a shader. I have a running example here with code: https://replit.com/@jgordon510/daltonizer-prototype#script.js

I'd be happy to do a pull request if you're interested in implementing some version of it into the codebase. I know these things are usually done as plugins, but since it's an accessibility enhancement, I thought you might be interested in incorporating it into the project itself.

@samme
Copy link
Collaborator

samme commented Apr 21, 2021

You're welcome to add it to filters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants