DLR-SC / ESID

This is the repository to the ESID frontend for visualization of infectious disease propagation.
Apache License 2.0
15 stars 3 forks source link

Add Alternative Theme / Scenario Palette for People with Colorblindness #221

Open NXXR opened 1 year ago

NXXR commented 1 year ago

Add an alternative theme, or at least alternative scenario color lists, and a menu item or button to switch themes. The alternative theme should use blue and yellow color to cover the most prevalent forms of colorblindness:


Current theme ![Current Theme](https://user-images.githubusercontent.com/25636783/222721749-b2bc101d-92c3-4cce-90fa-2e3664b7fca6.png)
Current theme with Deuteranomaly or Deuteranopia ![Deuteranomaly](https://user-images.githubusercontent.com/25636783/222723004-eb8ba86c-1293-4446-90ce-00a0a2dafd8e.png) Deuteranomaly (~5% Men, ~0.35% Women) ![Deuteranopia](https://user-images.githubusercontent.com/25636783/222723192-2ffbe59c-c63c-447d-915b-3269315ee8a8.png) Deuteranopia (~1.1% Men, ~0.01% Women)
Current theme with Protanomaly or Protanopia ![Protanomaly](https://user-images.githubusercontent.com/25636783/222723841-9f70d1c5-3b31-4f33-b602-84d8297c64c3.png) Protanomaly (~1.3% Men, ~0.02% Women) ![grafik](https://user-images.githubusercontent.com/25636783/222724070-49db6a71-432e-408e-ad97-7e8bcb8f01ac.png) Protanopia (~1.2% Men, ~0.02% Women)

Tritanomaly & Tritanopia (Blue Weak-/Blindness) is extremly rare (~0.01 Men/Women, and 0.001% Men 0.03% Women) and Theme colors are mostly discernable in these cases.

All color blindness simulations were generated and can be tested with this tool: https://www.color-blindness.com/coblis-color-blindness-simulator/