europas 0.0.3

Europa celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fn main() {
    let eclipse = europas::lighting::eclipses::typical_europa_eclipse();
    println!(
        "Totality: {:.1} minutes",
        eclipse.totality_duration_minutes()
    );
    println!(
        "Solar elevation at noon: {:.1} deg",
        europas::lighting::solar_position::solar_elevation_deg(
            0.0,
            europas::EUROPA_DAY_HOURS * 0.5
        )
    );
    println!(
        "Jupitershine: {:.2} lux",
        europas::lighting::jupitershine::jupitershine_irradiance_lux(0.7)
    );
}