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

FlightFrametype

Everything the picture needs at one place on the timeline: the phase, how each part stands, which engines burn, how far the ground has fallen, and how much smoke stands on the pad.

Import it

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

Definition

interface FlightFrame {
    index: number;
    phase: FlightPhase;
    poses: Readonly<Record<string, PoseNow>>;
    burns: Readonly<Record<string, number>>;
    groundY: number;
    smoke: number;
    air: number;
    separated: boolean;
}

Members

NameTypeDescription
indexnumber
phaseFlightPhase
posesReadonly<Record<string, PoseNow>>
burnsReadonly<Record<string, number>>
groundYnumber

Metres.

smokenumber
airnumber
separatedboolean

A part stands away from the stack.

Examples

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

const flight = flightOf("falcon-9", "block-5");
const frame: FlightFrame | undefined = flight ? frameAt(flight, 0, [{ slot: "first-stage", baseY: 0 }], 70) : undefined;
console.log(frame?.phase.name, frame?.separated);
Ignition false

What it prints (run when this page was built)

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