リファレンス
ジャーニーモード:ホーマン遷移・打ち上げ窓・フリップ&バーンの旅
import { … } from "@johnmorrisdotca/uchusen-rockets/journey";
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
ANDROMEDA_LY | 定数 | Andromeda, light years, from ANDROMEDA_PC. |
ANDROMEDA_PC | 定数 | Andromeda (M31), parsecs. |
astronomicalUnits | 関数 | A distance in astronomical units. |
AU_KM | 定数 | One astronomical unit, kilometres. |
AU_M | 定数 | One astronomical unit, metres (exact, IAU 2012). |
BallisticCraft | 型 | A rocket that flies a Hohmann transfer: its published payloads and the spacecraft it carries. |
bestDate | 関数 | The departure date, for a craft that burns all the way, with the shortest trip in the next two years. |
BodySource | 型 | Where the stops are, and what they are. |
burnTimer | 関数 | The timer before and during the braking burn: DECELERATION BURN IN until it starts, DECELERATION COMPLETE IN while it runs, nothing after. |
C | 定数 | The speed of light, metres a second (exact, by definition of the metre). |
circularSpeed | 関数 | Speed of a circular orbit, kilometres a second. |
COAST_MAX_LY | 定数 | The right end of the log line, light years: past Andromeda, so the galaxy sits inside the line. |
COAST_MIN_M | 定数 | The left end of the log line: one light second, metres. |
coastPlace | 関数 | Where a distance sits on the log line, 0 at one light second and 1 at COAST_MAX_LY. |
ContinuousCraft | 型 | A ship that burns all the way: constant acceleration, a turn round at the halfway point, the same acceleration to stop. |
Craft | 型 | A craft the journey can fly: a rocket on a Hohmann transfer, or a ship that burns all the way. |
craftOf | 関数 | A craft by its id. |
CRAFTS | 定数 | Every craft the journey offers: three real rockets and one ship of the SPX fleet. |
DAY_S | 定数 | A day, seconds. |
duration | 関数 | A length of time, in the units that read best. |
escapeBurn | 関数 | The burn that takes a craft from a circular parking orbit onto a path that leaves with a given speed at infinity, or, run the other way, that captures it into the same circular orbit: sqrt(v_inf^2 + 2 mu / r) - sqrt(mu / r). |
flipAndBurn | 関数 | A trip of constant acceleration with a turn round in the middle: burn to the halfway point, coast while the craft turns end for end, burn the same acceleration to stop. |
G0 | 定数 | One standard gravity, metres a second squared (exact, by definition). |
GALACTIC_CENTRE_LY | 定数 | Galactic centre, light years, from GALACTIC_CENTRE_PC. |
GALACTIC_CENTRE_PC | 定数 | Galactic centre, parsecs. |
GM_KM3_S2 | 定数 | Gravitational parameters (GM), cubic kilometres a second squared. |
gWords | 関数 | An acceleration in g. |
hohmann | 関数 | The Hohmann transfer between two circular orbits about one body: its half-ellipse, its time and the two speed changes. |
ignition | 関数 | The ignition count: IGNITION IN 3, 2, 1, then 0 from lift-off, with how far round the ring dial has gone. |
kepler | 関数 | Kepler's equation M = E - e sin E, solved for the eccentric anomaly by Newton's method. |
keptGoing | 関数 | Distance and Earth time if a ship keeps proper acceleration a (m/s²) for properS seconds on board and never brakes, starting from rest. |
kilometres | 関数 | A distance in kilometres, with groups of three digits. |
lightTime | 関数 | The time light takes to cross a distance, in the unit that reads best. |
LY_M | 定数 | A light year, metres. |
PARKING_ALTITUDE_KM | 定数 | The height of the circular parking orbit round each kind of body, kilometres: 185 km above the Earth (Apollo's), 100 km above the Moon (Apollo's), 200 km above any other body. |
percentOfLight | 関数 | The share of the speed of light, with enough digits that it is never rounded up to 100: 99.999 999 99 % for a speed a hair under c. |
PERIOD_DAYS | 定数 | Sidereal orbital periods, days (NASA's planetary fact sheets, https://nssdc.gsfc.nasa.gov/planetary/factsheet/). |
Phase | 型 | 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. |
Place | 型 | Where in a trip a moment of playback is: the phase, how far through it, the mission time and how many mission seconds each screen second shows. |
placeAt | 関数 | Which phase a moment of playback is in, and the mission time it shows. |
planTrip | 関数 | Plans a trip: the transfer or the flip and burn, the burns, the times, and what the craft can and cannot do. |
playSeconds | 関数 | The total time the screen takes to play a trip at a speed. |
PlaySpeed | 型 | How fast the screen plays: a multiple of normal speed. |
preheat | 関数 | The engine preheat bar before ignition: ten segments and a percent. |
PROXIMA_LY | 定数 | Proxima Centauri, light years. |
Quantity | 型 | A number with where it is from. |
speedWords | 関数 | A speed in metres a second as metres, kilometres or kilometres a second. |
Stage | 型 | What of a rocket is still there at one point of a trip, drawn with the rocket's own parts: the whole rocket, or the slots that are left, of the rocket and variant named. |
stageOf | 関数 | What of a craft is left at a phase of its trip, to draw: the whole rocket until the ascent is over, the upper stage with its payload for the departure burn and the coast, and the payload alone from the turn round. |
State | 型 | What is true of the craft at a moment: its place, speed, acceleration, the distances, the clocks, the signal time home and how far it has turned round. |
stateAt | 関数 | Everything true of the craft at a moment of playback: its place, speed, acceleration, the distances, the clocks and the signal time home. |
Stop | 型 | A place a trip can start or end at: the Earth, the Moon or a planet, with what the arithmetic needs. |
synodicPeriod | 関数 | The time between two meetings of two bodies in circular orbits, from their periods: 1 / |1/T1 - 1/T2|. |
tonnesWords | 関数 | A mass in tonnes. |
Trip | 型 | A trip, planned: when it leaves, its phases, its verdict, its distances, its speed changes and what is true of the craft at the peak. |
Verdict | 型 | What a craft can do on a trip, in one plain line, with the lines behind it. |
Window | 型 | A day a ballistic craft can leave on, with the flight time and the two speed changes of the Sun's frame. |
windows | 関数 | The next dates a craft can leave one planet for another on a Hohmann transfer: the days on which the destination will be where the craft arrives. |
YEAR_S | 定数 | A Julian year, seconds. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。