threejs-worldgen
    Preparing search index...

    Interface SystemOptions

    A star system: the star, the home planet, an optional moon, and seeded extra planets. Plain JSON.

    interface SystemOptions {
        bodies: BodyOptions[];
        home: BodyOptions;
        moon: BodyOptions | null;
        planets: number;
        seed: string | number;
        star: BodyOptions;
    }
    Index
    bodies: BodyOptions[]

    Extra bodies, appended as given (their parent must name an earlier body).

    The planet you stand on (overrides on DEFAULT_HOME). Its radius should match the World's.

    moon: BodyOptions | null

    The home planet's moon (overrides on DEFAULT_MOON), or null for none.

    planets: number

    How many procedural planets to add around the star (seeded).

    seed: string | number

    Seed for the procedural planets.

    The central star (overrides on DEFAULT_STAR).