Reference · Journey mode: transfers, launch windows and flip-and-burn trips
Phasetype
One stretch of a trip: its length in mission seconds (from lift-off, which is 0) and how long it takes on the screen at normal speed.
Import it
import type { Phase } from "@johnmorrisdotca/uchusen-rockets/journey";
Definition
interface Phase {
id: PhaseId;
startS: number;
endS: number;
screenS: number;
}
Members
| Name | Type | Description |
|---|---|---|
id | PhaseId | |
startS | number | |
endS | number | |
screenS | number |
Examples
import type { Phase } from "@johnmorrisdotca/uchusen-rockets/journey";
const coast: Phase = { id: "coast", startS: 1_050, endS: 430_000, screenS: 22 };
console.log(coast.endS - coast.startS);428950What it prints (run when this page was built)