motionNote関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The sentence for the panel: what moves on this ship and how fast it really is. Empty when nothing moves.
インポート
import { motionNote } from "@johnmorrisdotca/uchusen-rockets";
定義
function motionNote(rocket: string): string
引数
| 名前 | 型 | 説明 |
|---|---|---|
rocket | string | A rocket's registry id. |
戻り値
string
The notes of its motions, one after the other.
例
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.出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。