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

PlayFrametype

One moment of the build: the story day, the slots that are finished, and the slots that are being built.

Import it

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

Definition

interface PlayFrame {
    day: number;
    total: number;
    done: readonly string[];
    going: readonly string[];
}

Members

NameTypeDescription
daynumber

Days after the keel was laid.

totalnumber

Days from the keel to the first flight.

donereadonly string[]

Slots whose step has finished.

goingreadonly string[]

Slots whose step has started and not finished.

Examples

import { playFrame, type PlayFrame } from "@johnmorrisdotca/uchusen-rockets";

const frame: PlayFrame = playFrame([{ slot: "drive", start: 0, days: 10 }], 1);
console.log(frame.done.join(","));
drive

What it prints (run when this page was built)

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