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

Motiontype

One moving group of a ship: which ship and which tagged group, what it does and how fast, and its note.

Import it

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

Definition

interface Motion {
    ship: string;
    group: string;
    kind: MotionKind;
    rate?: number;
    from?: number;
    to?: number;
    travel?: number;
    period?: number;
    phase?: number;
    note: string;
}

Members

NameTypeDescription
shipstring

The rocket (a registry id) whose parts carry the group.

groupstring

The name of the Move on the pieces.

kindMotionKind
rate (optional)number | undefined

Spin: degrees a second at real speed (negative turns the other way).

from (optional)number | undefined

Swing and sweep: the angles in degrees. A slide: metres at the stowed end. Both start at from (default 0).

to (optional)number | undefined
travel (optional)number | undefined

Slide: how far it pays out, in metres, at the open end.

period (optional)number | undefined

Swing and sweep: seconds for a whole cycle at real speed.

phase (optional)number | undefined

Where in the cycle it starts, 0 to 1, so the five leaves of a door open one after another.

notestring

What it is in the ship's words, with its real rate.

Examples

import { motionsOf, type Motion } from "@johnmorrisdotca/uchusen-rockets";

const ring: Motion = motionsOf("fleet-ship-01")[0];
console.log(ring.kind);
spin

What it prints (run when this page was built)

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