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 · How a body is drawn with three.js

starLookOffunction

The star registered under a name, or undefined.

Import it

import { starLookOf } from "@johnmorrisdotca/wakusei-planets/look";

Definition

function starLookOf(name: string): StarLook | undefined

Parameters

NameTypeDescription
namestring

The name given to registerStarLook, in any case.

Returns

StarLook | undefined

The star, or undefined when none is registered by that name.

Examples

import { starLookOf } from "@johnmorrisdotca/wakusei-planets/look";

console.log(starLookOf("Vega") === undefined);
true

What it prints (run when this page was built)

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