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

stillsfunction

The numbered stills for reduced motion: the keel just laid, evenly spaced moments, and the finished ship.

Import it

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

Definition

function stills(steps: readonly PlayStep[], count?: number): PlayFrame[]

Parameters

NameTypeDescription
stepsreadonly PlayStep[]

The ship's build order.

count (optional)number

How many stills. Fewer than 2 becomes the start and the end.

Returns

PlayFrame[]

One frame per still, from the start to the end.

Examples

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

const frames = stills([{ slot: "drive", start: 0, days: 10 }], 3);
console.log(frames.length, frames[0].day, frames[2].day);
3 0 10

What it prints (run when this page was built)

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