Skip to the content

Wakusei Planets惑星

The Sun, the planets and their moons as a clean line drawing, a shaded realistic drawing or a painted surface map, with real sizes, tilt and rotation, and the moons where they are at any date and time.

Wakusei is the Japanese word 惑星 for a planet. About the name

Contents

Reference · Facts, line drawings and positions

StarParttype

One part of a star's picture and how well it is known, with a sentence for a page to show in English and Japanese.

Import it

import type { StarPart } from "@johnmorrisdotca/wakusei-planets";

Definition

interface StarPart {
    part: "temperature" | "colour" | "size" | "edge" | "surface" | "spots" | "rotation" | "shape" | "poles" | "prominences" | "glow";
    status: StarStatus;
    note: {
        en: string;
        ja: string;
    };
}

Members

NameTypeDescription
part"temperature" | "colour" | "size" | "edge" | "surface" | "spots" | "rotation" | "shape" | "poles" | "prominences" | "glow"
statusStarStatus
note{ en: string; ja: string; }

Examples

import { starLook, type StarPart } from "@johnmorrisdotca/wakusei-planets";

const parts: readonly StarPart[] = starLook({ temperatureK: 5772, radiusSun: 1 }).parts;
console.log(parts.map((part) => `${part.part}: ${part.status}`).join(", "));
temperature: measured, colour: derived, size: measured, edge: derived, surface: illustrative, spots: illustrative, rotation: illustrative, prominences: illustrative, glow: illustrative

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/wakusei-planets 0.25.0.