threejs-worldgen
    Preparing search index...

    Function sunTimes

    • Next sunrise and sunset within one solar day after from, by scanning the sun's elevation and bisecting the crossings. horizon defaults to −0.833° (upper limb plus standard refraction).

      Parameters

      • system: StarSystem
      • from: number
      • latitude: number
      • longitude: number
      • horizon: number = -0.833

      Returns SunTimes