cichlid::math
pub const fn dim_u8_lin(x: u8) -> u8
Dims a u8 similar to dim_raw, but linearly below a threshold.
u8
dim_raw
When the input is less than equal to255 / 2, the output is dimmed by halving.
255 / 2