Reference · Bodies as objects for your own three.js scene
LOOKSconstant
The looks the painter draws: realistic (shaded from the body's real colours and features) and painted (a public-domain surface map, with the shaded look until it arrives).
Import it
import { LOOKS } from "@johnmorrisdotca/wakusei-planets/painter";
Definition
const LOOKS: readonly ["realistic", "painted"] = ["realistic", "painted"] as const
Examples
import { LOOKS, type PainterLook } from "@johnmorrisdotca/wakusei-planets/painter";
const first: PainterLook = LOOKS[0];
console.log(first);