Skip to main content

perceive_cvd/
lib.rs

1//! # perceive-cvd
2//!
3//! Colorblind (color vision deficiency) simulation using the Brettel et al.
4//! (1997) and Viénot et al. (1999) models. Part of the
5//! [Perceive](https://github.com/perceive-a11y) accessibility platform.
6//!
7//! Uses [`perceive_color::Color`] for linear RGB representation.
8
9#![cfg_attr(not(feature = "std"), no_std)]
10
11pub mod brettel;
12pub mod types;
13pub mod vienot;
14
15pub use brettel::simulate;
16pub use types::{CvdType, Severity};
17pub use vienot::simulate_fast;