Reference · Rockets, variants, parts and the fit check
VIEWSconstant
The angle of each named view.
Import it
import { VIEWS } from "@johnmorrisdotca/uchusen-rockets";
Definition
const VIEWS: Readonly<Record<"three-quarter" | "front" | "back" | "side" | "below", Angle>> = {
"three-quarter": { az: 32, el: 9 },
front: { az: 0, el: 3 },
back: { az: 180, el: 3 },
side: { az: 90, el: 3 },
below: { az: 24, el: -70 },
}
Members
| Name | Type | Description |
|---|---|---|
three-quarter | Angle | |
front | Angle | |
back | Angle | |
side | Angle | |
below | Angle |
Examples
import { VIEWS } from "@johnmorrisdotca/uchusen-rockets";
console.log(VIEWS.front, VIEWS.below);{ az: 0, el: 3 } { az: 24, el: -70 }What it prints (run when this page was built)