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

assemblyOffunction

The part at day. spanMetres is how wide it is. Over SHOP_LIMIT_M it is never carried.

Import it

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

Definition

function assemblyOf(step: PlayStep, day: number, spanMetres: number): PartBuild

Parameters

NameTypeDescription
stepPlayStep

The build step.

daynumber

Days after the keel was laid.

spanMetresnumber

How wide the part is, in metres.

Returns

PartBuild

Whether it is visible as a finished piece, how far it has grown, and whether a beam is carrying it.

Examples

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

console.log(assemblyOf({ slot: "drive", start: 0, days: 100 }, 4, 80).carried);
false

What it prints (run when this page was built)

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