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

frameAtfunction

Everything the picture needs at a place on the timeline, for a vehicle height metres tall.

Import it

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

Definition

function frameAt(flight: Flight, position: number, parts: readonly FlightPart[], height: number): FlightFrame

Parameters

NameTypeDescription
flightFlight

A flight.

positionnumber

A place on the timeline.

partsreadonly FlightPart[]

Each part's slot and the height of its base in the stack, in metres.

heightnumber

The vehicle's height in metres.

Returns

FlightFrame

The frame to draw.

Examples

import { flightOf, frameAt } from "@johnmorrisdotca/uchusen-rockets";

const flight = flightOf("falcon-9", "block-5");
if (flight) console.log(frameAt(flight, 1, [{ slot: "first-stage", baseY: 0 }, { slot: "second-stage", baseY: 41 }], 70).burns);
{ 'first-stage': 9 }

What it prints (run when this page was built)

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