Skip to main content

moon_illumination

Function moon_illumination 

Source
pub fn moon_illumination(phase: f32) -> f32
Expand description

Fraction of the moon’s disc that is lit: 0 at new moon, 1 at full moon.