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

hohmannfunction

The Hohmann transfer between two circular orbits about one body: its half-ellipse, its time and the two speed changes.

Import it

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

Definition

function hohmann(muKm3s2: number, r1Km: number, r2Km: number): { a: number; seconds: number; dv1: number; dv2: number; }

Parameters

NameTypeDescription
muKm3s2number

The central body's gravitational parameter, km^3/s^2.

r1Kmnumber

The starting radius, km.

r2Kmnumber

The final radius, km.

Returns

{ a: number; seconds: number; dv1: number; dv2: number; }

The semi-major axis (km), the flight time (seconds), the speed change at the start and at the end (km/s, both positive).

Examples

import { GM_KM3_S2, hohmann } from "@johnmorrisdotca/uchusen-rockets/journey";

const mars = hohmann(GM_KM3_S2.sun!, 149_597_870.7, 1.52371034 * 149_597_870.7);
console.log((mars.seconds / 86400).toFixed(1), mars.dv1.toFixed(2), mars.dv2.toFixed(2));
258.9 2.94 2.65

What it prints (run when this page was built)

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