Files
skills/plugins/document-navigator/docs/geospatial/geo/geo-planet
admin 9bf56a806b Move docs/ package mirror into document-navigator plugin
Relocate the ~6k-file docs tree from the repo root into
plugins/document-navigator/docs/ so the plugin is self-contained and
portable. docs/superpowers/ (specs and plans) stays at the repo root.

Moved via cp+rm rather than git mv because directory rename() fails with
EPERM on this WSL /mnt DrvFs mount; git rename-detection pairs the
identical-content files at commit time.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 01:10:00 +01:00
..

@suaveplan/geo-planet - Configurable planet surface geometry from PlanetConfig — ellipsoid, atmosphere, satellites, and orbital elements.

Summary

Configurable planet surface geometry from PlanetConfig — ellipsoid, atmosphere, satellites, and orbital elements.

Documentation tree

- [atmospheric](./src/atmospheric/atmospheric.md) — _(no submodules)_- [planet-surface](./src/planet-surface/planet-surface.md) — _(no submodules)_- [planet-surface](./src/planet-surface/planet-surface.md) — _(no submodules)_- [types](./src/types/types.md) — _(no submodules)_- [schemas](./src/types/schemas.md) — The `schemas` module exposes Zod runtime schemas mirroring every public type declared in `types.ts`. Validation is the…
  • types — (no submodules)- atmospheric — (no submodules)- planet-surface — (no submodules)- planet-surface — (no submodules)- types — (no submodules)- schemas — The schemas module exposes Zod runtime schemas mirroring every public type declared in types.ts. Validation is the…
  • types — (no submodules)- atmospheric — (no submodules)- planet-surface — (no submodules)- planet-surface — (no submodules)- types — (no submodules)- schemas — The schemas module exposes Zod runtime schemas mirroring every public type declared in types.ts. Validation is the…
  • types — (no submodules)- atmospheric — (no submodules)- planet-surface — (no submodules) - planet-surface — (no submodules)- types — (no submodules) - schemas — The schemas module exposes Zod runtime schemas mirroring every public type declared in types.ts. Validation is the…
  • types — (no submodules)

Install

bun add @suaveplan/geo-planet

Quick start

import { PlanetSurface, PlanetConfigSchema } from "@suaveplan/geo-planet";

const config = PlanetConfigSchema.parse({
    name: "Mars",
    mass: 6.39e23,
    radius: 3_396_200,
    polarRadius: 3_376_200,
    surfaceGravity: 3.72,
    rotationPeriod: 88_620,
    axialTilt: 25.2,
    atmosphere: null,
    satellites: [],
});

const surface = new PlanetSurface(config);
console.log(surface.distance(a, b, "kilometre"));

Modules