Colorverse
Color vision convertor / simluator
Based on Machado, Oliveira & Fernandes (2009) model. Customized with dynamic level parameter introduced and nonlinear easing of the level.
Usage
Configure:
$ cargo add colorverse
Use:
use convert;
use ColorVisionType;
let color_vision_type = Protanomaly;
let level = 0.5;
let input_file_path = "input.png";
let output_file_path = format!;
convert
.unwrap
.save_as;
use convert;
use ColorVisionType;
let mut color_vision_type_iterator = new;
while let Some = color_vision_type_iterator.next
Samples
Trichromacy

Protanomaly 50%

Protanomaly 100% (Protanopia)

Deuteranomaly 50%

Deuteranomaly 100% (Deuteranopia)

Tritanomaly 50%

Tritanomaly 100% (Tritanopia)

Achromatomaly 50%

Achromatomaly 100% (Achromatopsia)

Open-source, with care
This project is lovingly built and maintained by volunteers.
We hope it helps streamline your work.
Please understand that the project has its own direction — while we welcome feedback, it might not fit every edge case 🌱