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

playFramefunction

The build at at, from 0 when the keel is laid to 1 when the ship flies.

Import it

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

Definition

function playFrame(steps: readonly PlayStep[], at: number): PlayFrame

Parameters

NameTypeDescription
stepsreadonly PlayStep[]

The ship's build order.

atnumber

How far through the build, from 0 to 1.

Returns

PlayFrame

The story day and which slots are finished or underway.

Examples

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

const steps = buildOf("miyamoto");
console.log(steps ? playFrame(steps, 0).going[0] : "");
drive

What it prints (run when this page was built)

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