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

flightLogOffunction

A rocket's flights, in order.

Import it

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

Definition

function flightLogOf(rocket: string): readonly LoggedFlight[]

Parameters

NameTypeDescription
rocketstring

A rocket's id, such as falcon-1.

Returns

readonly LoggedFlight[]

That rocket's logged flights, in order. It is empty for a rocket with none.

Examples

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

console.log(flightLogOf("falcon-1").map((flight) => flight.name));
[
  'Falcon 1, flight 1',
  'Falcon 1, flight 2',
  'Falcon 1, flight 3',
  'Falcon 1, flight 4',
  'Falcon 1, flight 5'
]

What it prints (run when this page was built)

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