strange_attractor_renderer::config

Struct BrighnessConstants

source
pub struct BrighnessConstants {
    pub offset: f64,
    pub factor: f64,
}

Fields§

§offset: f64

adds this to the colour before multiplying Self::factor. Can be used to add contrast. This is usually what you want.

§factor: f64

Trait Implementations§

source§

impl Clone for BrighnessConstants

source§

fn clone(&self) -> BrighnessConstants

Returns a copy of the value. Read more
1.0.0