Frederik Gladhorn

Testing Applications for Color Blindness

Published Friday September 15th, 2017
10 Comments on Testing Applications for Color Blindness
Posted in Accessibility, Community, Dev Loop, KDE | Tags: , , , ,

At the Randa Meeting 2017 Volker and I decided to write a little KWin plugin. Activating this plugin you can simulate various types of color vision deficiencies, either on individual windows or full-screen. The plugin works by running a fragment shader on the respective window/screen.

Here is a short video demonstrating what we did:

The purpose is to allow everyone to test applications problematic color schemes.
https://en.wikipedia.org/wiki/Color_blindness

Do you like this? Share it
Share on LinkedInGoogle+Share on FacebookTweet about this on Twitter

Posted in Accessibility, Community, Dev Loop, KDE | Tags: , , , ,

10 comments

Heller says:

Hello,
I was wondering if a “blue light filter” can be created with a similar approach ? I use this filter on my android smartphone and it’s pretty nice. And does a shader heavily affects performance ?
https://en.wikipedia.org/wiki/Effects_of_blue_lights_technology

Thank you for your work (and it’s nice to see some Q/K faces πŸ™‚

Drew says:

Wong’s paper is referenced on the wiki page you linked to, and suggests a colour palette that I find helpful. https://doi.org/10.1038%2Fnmeth.1618

Drew says:

Wong’s paper is referenced on the wiki page you linked to. He suggests a colour palette that I find helpful. https://doi.org/10.1038%2Fnmeth.1618

Heller says:

Hello,
Is it possible to create a “blue light filter” like the one in Android or iOS with this approach ?
Thanks

Frederik Gladhorn Frederik Gladhorn says:

I suppose the blue light filtering could be done, writing a KWin plugin is not impossible in any case, so feel free to have a look at the code and modify the shader. I guess it would be good to coordinate with the KWin team first, to see where this should live.
We just discussed the issue and got the pieces together in an afternoon, now we’ll have to find time to see if/how we can upstream things correctly.

Dimi says:

It would have been nice to share the shaders source.

Frederik Gladhorn Frederik Gladhorn says:

This is work on/in/with KDE, of course there are sources πŸ˜€ https://phabricator.kde.org/D7832 contains everything, it does look as if we will have to move it out of the main KWin repository and make it an independent effect though.

Jason says:

I’d expect that this would make it into QtCreator itself, or Qt proper, so that UIs can be previewed?
perhaps add some Qt command line options to apply a top-level shader?

Frederik Gladhorn Frederik Gladhorn says:

That’s a nice idea, we didn’t have any big ambitious plans so far, but making it convenient to test is certainly something we want.

Evon says:

I agree. As a Qt user that’s unfamiliar with KDE, I really have no idea how I’d use this incredibly useful-sounding simulator. I’d even like to apply it to my non-Qt projects.

Commenting closed.

Get started today with Qt Download now