threejs-worldgen
    Preparing search index...

    Function orbitPath

    • Points along the whole ellipse (relative to the parent), for drawing orbit lines. Spaced evenly in eccentric anomaly, which puts more points near periapsis where the path bends most.

      Parameters

      Returns Float64Array

      segments points as a flat [x, y, z, …] array, metres.