venuss 0.0.1

Venus celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
pub struct SulfuricCloudLayer {
    pub optical_depth: f64,
}

impl SulfuricCloudLayer {
    pub fn global() -> Self {
        Self {
            optical_depth: crate::MEAN_CLOUD_OPTICAL_DEPTH,
        }
    }

    pub fn surface_solar_fraction(&self) -> f64 {
        (-self.optical_depth).exp()
    }
}

pub fn lightning_rate_flashes_per_s() -> f64 {
    50.0
}