Skip to the content

Uchusen Rockets宇宙船

Rockets drawn from sourced sizes: line drawings and painted 3D views you drop into a page, take apart and turn round, and a typed model that checks whether a rocket really goes together.

Uchusen is the Japanese word 宇宙船 for spaceship. About the name

Contents

Reference · Rockets, variants, parts and the fit check

ViewChoicetype

What the family's view controls report: the turn and tip in degrees, the zoom (1 is the whole rocket in the picture) and the pan in pixels.

Import it

import type { ViewChoice } from "@johnmorrisdotca/uchusen-rockets";

Definition

interface ViewChoice {
    yaw: number;
    tilt: number;
    roll?: number;
    zoom: number;
    panX: number;
    panY: number;
}

Members

NameTypeDescription
yawnumber
tiltnumber
roll (optional)number | undefined

Degrees about the view's forward axis. Left out, the camera stays upright.

zoomnumber
panXnumber
panYnumber

Examples

import type { ViewChoice } from "@johnmorrisdotca/uchusen-rockets";

const choice: ViewChoice = { yaw: 20, tilt: -5, zoom: 1, panX: 0, panY: 0 };
console.log(choice);
{ yaw: 20, tilt: -5, zoom: 1, panX: 0, panY: 0 }

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/uchusen-rockets 0.14.0.