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 · Journey mode: transfers, launch windows and flip-and-burn trips

planTripfunction

Plans a trip: the transfer or the flip and burn, the burns, the times, and what the craft can and cannot do. A craft that cannot make the trip comes back with a verdict that says why in one line and no phases.

Import it

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

Definition

function planTrip(source: BodySource, craft: Craft, from: string, to: string, departMs: number, g?: number, via?: "jupiter"): Trip

Parameters

NameTypeDescription
sourceBodySource

Where the places are.

craftCraft

The craft.

fromstring

The starting place's id.

tostring

The destination's id.

departMsnumber

When the departure burn begins, milliseconds since 1970 (for a ballistic trip to a planet, one of windows).

g (optional)number | undefined

Proper acceleration in g for a ship that burns all the way. Omitted, the ship flies at its rated acceleration. A ballistic craft ignores it.

via (optional)"jupiter" | undefined

"jupiter" asks a rocket leaving the Earth for a swing past Jupiter on the way to a planet beyond it. Anything else, and any other craft, flies the direct trip.

Returns

Trip

The planned trip.

Examples

import { craftOf, planTrip, type BodySource } from "@johnmorrisdotca/uchusen-rockets/journey";

declare const source: BodySource;
const trip = planTrip(source, craftOf("saturn-v")!, "earth", "moon", Date.UTC(2026, 10, 5));
console.log(trip.verdict.line, Math.round(trip.dv.departure));

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