Reference · Rockets, variants, parts and the fit check
motionNotefunction
The sentence for the panel: what moves on this ship and how fast it really is. Empty when nothing moves.
Import it
import { motionNote } from "@johnmorrisdotca/uchusen-rockets";
Definition
function motionNote(rocket: string): string
Parameters
| Name | Type | Description |
|---|---|---|
rocket | string | A rocket's registry id. |
Returns
string
The notes of its motions, one after the other.
Examples
import { motionNote } from "@johnmorrisdotca/uchusen-rockets";
console.log(motionNote("fleet-ship-01"));The three glazed rings and the two propellant booms turn together on one bearing at 3.43 rpm, one turn every 17.5 s, which gives the living ring 1.00 g; the keel does not turn. The industrial wheel turns at 2.83 rpm, one turn every 21.2 s (1.00 g at its rim). A lift car rides 15 m along the keel toward the tail and back, one at each wheel and one at the docking node. The cars are drawn at every stop, so the ride stays short of the next car and inside the tube. Drawn faster than a real lift.What it prints (run when this page was built)