本文へ移動

Uchusen Rockets宇宙船

出典つきの寸法から描いたロケットです。ページに置いて、分解して、回して見られる線画と彩色した3Dビューに加え、ロケットが本当に組み合わさるかを確かめる、型付きのデータモデルを備えています。

Uchusen は、宇宙を飛ぶ乗り物を意味する日本語「宇宙船」(うちゅうせん)から取った名前です。 名前について(英語)

目次

リファレンス

ロケット・型式・部品・適合チェック

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

リファレンスの説明と例は英語です。見出しと目次は日本語です。

エクスポート

名前種類概要
Angle型An angle to look from: az degrees round from the windward side towards +X, el degrees above the horizon.
angleAt関数The angle of a group seconds into the show, in degrees.
approachPath関数Berth, parts store, the lane abreast of the slot, then the slot.
arrangement関数The general-arrangement views of a ship at one scale: side (the spine up the sheet), front (looking down the spine) and top, in a frame width by height pixels, with one scale for all three and a ruler along the length.
Arrangement型The general-arrangement views at one scale.
assemble関数Puts a ship's list of modules in place and checks that every joint mates.
Assembly型A ship put together: its places, its mass and size, and the problems found.
assemblyOf関数The part at day.
assetPathOf関数The shipped picture of these options, under the package's dist/assets/: starship-v3.svg, falcon-9-block-5-apart.thick.svg.
attributesFromOptions関数The attributes that draw these options.
axesOf関数The camera's own axes for looking along direction, with up as near to +Y as it can be.
beaconLamp関数The slow red beacon: a dome in the beacon material.
BeamEnds型The two ends of a carry, and the slot the part is heading for.
beamLight関数The beam as light in a drawing.
BeamPhase型What the beam is doing: taking hold, carrying, letting go, or watching the part settle into its slot.
Bell型One engine bell as the drawing has it: where it stands across the part, the height of its mouth and its exit radius, all in metres in the part's own frame.
bellsOf関数One bell for every engine the pieces already draw.
berthRing関数A ring of berths around the parts stack, used when nothing is being carried.
BESIDE_MOST定数The most craft that stand beside the one on screen: seven, so eight in all.
BESIDE_ROCKET定数The rocket that can stand beside another for scale: the real Starship stack, Super Heavy and the ship, Block 3.
besideBounds関数The box that holds both: what the camera must frame, and what Fit fits.
besideCraft関数The craft that stand beside a rocket, from the element's beside attribute: on is Starship with Super Heavy (never beside Starship itself), and a list such as saturn-v:saturn-v,iss:iss is those craft, at most seven, each a rocket and a variant (the rocket's default variant when none is given).
besideLabel関数The words that say what the craft beside it is: its name and its sourced length, such as "Starship with Super Heavy, 124.4 m".
besideLayout関数Where the other rocket stands: its offset in metres, to add to where its own parts stand, and the box it fills there.
blank関数A figure with no value: the shape of "no source gives this".
BUILD_BUDGET_MS定数How long a build may take, in milliseconds, on a normal laptop: the first picture (coarse) within a second and full detail within three.
BuilderOption型One part a row of the builder offers: its id, its name and the rocket it comes from.
BuilderRow型One row of the builder, from the bottom: what it chooses, the parts it offers, the one chosen, and whether the builder made the choice because only one part fits.
BUILDERS定数The kit's builders, for a ship that needs a module of its own size: a 40 m container, an 80 m tank, a 165 m ring, a 24 m truss bay.
builderState関数The rows for these picks, from the bottom.
BuilderState型What the builder shows for a set of picks: its rows, the description they make and the fit report for it.
buildOf関数The build order of a ship, or nothing when that ship has no build to play.
BuildPhase型Bring, join, outfit, then inspect.
BuildTime型How long a build took, and what it made.
BuildWords型The words the build bar says, each of which a page can replace.
burnsOf関数How many engines of each part burn in a phase, as drawn: a blank figure draws its drawn.
canBeside関数Whether Starship can stand beside this rocket: every rocket but Starship itself.
canScale関数Whether a craft takes the size slider: the three Kaminari concept hulls.
carries関数Where each drone is at at.
Carry型One drone, where it is, and the point its beam aims at.
CDN定数The folder on a CDN the element loads from when the embed is a plain script with no bundler.
check関数Asks whether a rocket goes together, from the parts' records alone, with no three.js and no DOM.
cleanLook関数A value from outside as a look's name: the default for anything else.
cleanShow関数A value from outside as something that can be shown.
cleanView関数A value from outside as a view's name.
cleanWay関数Anything but ccw is the default way.
clockWords関数A time as words: T+2:35, T-0:03, T+1:05:20.
COLLAR_CLASSES定数The collar classes in order of size.
CollarClass型The four collar classes: S for small craft and service ports, M for the ordinary module spine, L for heavy spines, H for the heaviest.
COLLARS定数The collar standard: four classes, each twice the one before.
CollarSpec型What a collar class is, in metres.
COMPANIES定数The company of every shipped ship: Miyamoto, Ariake, Hanabusa, Kaminari, Emiake and Romaryū.
Company型One ship's company: its crew, and every room they need.
COMPANY_KINDS定数The rooms every one of these ships has.
companyOf関数One ship's company.
CompanyShip型Miyamoto, Ariake, Hanabusa, the shipped Kaminari, Emiake or Romaryū.
CONCEPT_IDS定数The variant ids of the three concepts, in the order the picker lists them.
CONCEPT_ROCKETS定数The rocket ids that take the size slider.
conceptHull関数One concept on Kaminari's own No.
conceptStyle関数How a concept is painted: the face as drawn, a solid fill on a plain field, and lamps for the night view.
craftName関数The words that name one craft in a picture of several: its name, then its length in metres, such as "Saturn V (Apollo), 110.64 m".
CreditId型The id of one model's credit in MODEL_CREDITS.
creditLine関数One credit as a line of text.
CrewSpace型One room on a ship: what it is, which deck it stands on, where that deck is, and how many of the crew it is for.
CrewTask型What the drone is doing.
CROSSFADE_MS定数How long the drawing and the 3D view cross-fade, in milliseconds.
Deck型One deck of the numbered summary.
deckNumber関数A deck number, for beside a hatch.
deckSummary関数The numbered deck summary of a ship, bow to stern: every section that is a deck, numbered from 1 at the bow.
DEFAULT_LOOK定数The look used when none is named or the name is not a look: line.
DEFAULT_SPIN定数The spin used when none is asked for: 180 seconds a turn, clockwise.
DEFAULT_VIEW定数The view used when none is named or the name is not a view: three-quarter.
demoHull関数A demonstration hull for one ship: a drum of the kit's own plating, with the ship's markings laid over it as a part of their own, to show the lettering at the distance a ship is seen from and close up.
Description型A rocket to check or build: its id, its variant (left out: the rocket's default) and any other part in a slot, by part id.
designation関数A fleet ship's designation: SPX- and its code, such as "02" or "KIT-H".
directionOf関数The unit vector from what is looked at towards the camera.
Disagreement型Another value a source gave for a figure, with the source and the reason it was not the one chosen.
dockingMarking関数A docking marker: a ring with four ticks and the port's number in the middle, painted where a ship should line up.
DRAWING_HOLD_MS定数The drawing stays at least this long after it first comes on screen.
DRONE定数Where things are on the SPX repair drone, in its own frame: metres, its lowest point at y = 0, its front towards +Z.
DRONE_FILES定数The repair drone's two painted models, under assets/models/: near keeps every triangle (about 120,000) and far is the same drone cut to about 2,200 for one far away.
dutyOf関数Which job a material's glow has.
easedDistance関数A distance between two camera distances, even in scale.
easeInOut関数Ease-in-out: slow at both ends, so a camera move does not start or stop with a jerk.
EMBED_KINDS定数The six ways embedCode writes a rocket for another page: element, iframe, module, svg, data and link.
embedCode関数The text of one embed.
EmbedKind型One of the ways in EMBED_KINDS.
embedNote関数What an embed asks of the page around it, in words: a line for the demo to show.
EmbedSettings型Where the embed code points: the address of the demo that holds embed.html, and the CDN folder the element loads from.
ENGINE_CARDS定数The engine cards, by id.
EngineCard型One engine type: what it burns, how hard it pushes and how it runs.
EnginePropellant型What one engine burns: its name as the variants' data spells it, the propellant as its page words it (a figure with its source), and the kind of flame that picks the colour.
EngineRole型What an engine does on a ship.
EngineRow型One line of a ship's engine table: a role, the card, how many engines and their thrust together.
enginesWanted関数on asks for them, and a reader who asked for reduced motion has them off whatever the page says.
engineTable関数The engine table of a ship: for each role, which engine card, how many engines and what thrust, from the modules in its list.
exploded関数The exploded assembly of a ship: every module moved apart along the spine by gap metres so none touches, with its name and its mounting points (the centre of each collar's face and each port) in the exploded positions.
ExplodedModule型One module of an exploded assembly: its name, how far it moves from its place, and the points it mounts at.
Figure型A number or a text with where it came from.
figureWords関数A figure as words for a table: its value and whatever must stay beside it; a blank says why, or that no source gives it.
FitCode型Why a check said what it said: an unknown rocket, variant, slot or part, a part of the wrong kind, a joint that is missing, of another kind or of another width, or a custom build.
FitIssue型One thing a check found: its code, its level (error stops a build, note says what was decided) and a sentence saying it.
FitReport型The answer of check: whether the parts go together, the issues, the label to call the rocket, whether it is a custom build, the variant, the parts, the size and the credits of every licensed model.
FLAME_SETTLE_MS定数With no one touching anything, a flame stops moving after this long and nothing draws: a lit rocket at rest costs the same as a dark one.
FlameKind型The kinds of flame the pictures have a colour for.
FlatPlace型Text on a flat wall: at is the anchor, the middle of the capitals' height; right is the way the text reads and up the way a letter stands, both unit vectors; the viewer who sees the text right way round stands on the side of right x up.
FLEET_MAKER定数The maker of every ship of the fleet, as the maker field says it: SPX, short.
FLEET_MARKING_ROCKETS定数The hull-marking rockets, by id: each candidate face on Kaminari's tank and on Miyamoto's habitat.
FLEET_MARKS定数The words the fleet paints: the prefix ISV, each ship's name in capitals with its kanji, its registry and its class, and the operator's name, which is just SPX.
FLEET_OPERATOR定数The organisation that operates the fleet, in the story: just "SPX", never spelled out.
FLEET_PALETTE定数The fleet's colours by role, as sRGB hex.
FleetColour型The name of a role in FLEET_PALETTE.
Flight型A flight, from a published timeline: its rocket and variant, whose timing it is, its source and its phases in order.
FLIGHT_LOG定数The flights this package keeps a record of, each from a named source.
FlightBurn型How many engines of a part burn.
FlightClockクラスThe clock of one timeline: where it is and whether it runs.
FlightFrame型Everything the picture needs at one place on the timeline: the phase, how each part stands, which engines burn, how far the ground has fallen, and how much smoke stands on the pad.
flightLogOf関数A rocket's flights, in order.
flightNow関数The assembly flight underway at at: flights are the build steps in the order they start, named like an ISS flight.
flightOf関数The flight for a rocket's variant, when a page gives one.
FlightPhase型One phase of a flight: its id and name, what happens, when (a figure with its source), how many engines burn, how each part stands, and how far the ground has fallen away.
FLIGHTS定数Every flight the package can play, one for each variant that has a timeline.
FOV_DEG定数The camera's field of view, in degrees, top to bottom.
frameAt関数Everything the picture needs at a place on the timeline, for a vehicle height metres tall.
frameFor関数The nearest camera that holds the whole of min to max in a picture aspect wide for 1 tall, from angle.
Framing型Where the camera stands: the point it looks at, its position and its distance from that point, in metres.
G0定数Standard gravity in m/s^2.
GLOSSARY定数The fleet's acronyms and what they stand for.
GlossaryCode型The name of an acronym in GLOSSARY.
grounded関数Whether slot may stand in the picture.
hangarNumber関数A hangar's number, in a painted box.
hazardMarking関数Diagonal warning stripes of black and warning yellow in a box, for a hatch frame, a swing area or the edge of a gantry: width metres along the text, place.height metres tall, stripes at 45 degrees.
HULL_MARKS定数The lettering places of each ship, in that ship's own metres.
HULL_STACKS定数The hull-layer presets by role.
HullBox型A box the path must not pass through, in metres.
HullLayer型One layer of a hull: its place in the stack (1 is the outside), what it is, what it is made of, its thickness in millimetres, and what it is for.
HullMark型One place a ship carries its lettering.
hullMarkings関数The pieces of one ship's lettering, in the ship's own metres, ready to stand on the hull.
HullStack型A stack of hull layers for a role, outside in.
HullStackName型The name of a preset in HULL_STACKS.
Inset型A system inset: an id and name, what it is, and its numbered sub-parts.
InsetPart型One numbered sub-part of an inset: its number, name, what it does, its size in metres (width, height, depth), where it sits in the assembled inset and how to draw it.
INSETS定数The four system insets by id: reactor core, navigation and sensor suite, life support, docking port, each with five or six numbered sub-parts.
inspectAt関数One drone's place around a finished hull.
InspectPlace型One drone at one moment: where it is, the spot it is looking at, and whether it is holding still.
isCoarse関数Whether a piece belongs to the coarse level: a body of revolution that is part of the main body or has an outline (a hull, a bell, a collar's flange), or a solid that is at least a metre and a half every way (a container's box).
Joint型Where a part mates.
KAMINARI_CONCEPT_VARIANTS定数The three ships' variants: Kaminari, Emiake and its deployed sails, then Romaryū.
kanjiPlate関数The kanji of a ship's name, and its class beside it where it has one, in one formal place.
KIT定数Every module of the fleet kit, by id: name, mass and size in metres, collars, ports and how to draw it.
KitModule型One module of the kit: its name, mass and size in metres, the collars at its ends, the ports on its side, and how to draw it.
Label型One label: what it says, the part it points at in the ship's metres (so a 3D view moves it with the part), which side of the ship its text goes, and where it comes from.
labelDensity関数How dense a ship's labels are: labels for each hundred metres, and the share of the length each label stands for.
labelsOf関数The labels of a ship: one for every named section of every module, each pointing at its part, alternating sides so a sheet can carry them on both sides.
lampFactor関数How bright a lamp is now, from 0 to 1.
lastPosition関数The last place on the timeline: the last phase.
LEGEND定数The symbol legend: the marks a sheet uses for hatches, locks, ladders, lifts, valves, pumps, lines and radiation.
LegendSymbol型A symbol of the legend: its id, its name, what it means on a sheet, and a small drawing as an SVG path in a 24 by 24 box.
lightMode関数The Lights choice, from the attribute or the address.
lightPool関数A baked pool of warm light on a surface: a thin sheet in the light-pool material, lying in the frame.
Livery型A colour scheme: the panel colours of a module.
LIVERY定数The fleet's liveries.
LiveryName型The name of a livery in LIVERY.
lockup関数A lock-up of a big registry with the name set smaller above it, justified to its width, and an optional pinstripe between them: the arrangement of a ship's exterior marking.
LoggedFlight型One flight from the flight log: its name, the rocket and variant that show it, the date, whether the launch succeeded, the source's own words on the outcome, and the source.
Look型What a look changes: the colour and width of its lines in a 3D view and in a drawing, how much of the weld lines shows, the fills by material group and whether there is a halo.
LOOK_NAMES定数The names of the looks: line, thick and painted.
LookName型The name of one look in LOOK_NAMES.
LOOKS定数Every look, by name.
MakerId型The id of a group in MAKERS.
MAKERS定数The groups the demo lists rockets under, by id, with the name shown for each.
markedHauler関数The kit's sample hauler with its markings: the ship's number along both flanks of the long tank, hangar, deck and port numbers on the drums, container numbers and stencils on the boxes.
marking関数Text on a hull.
MarkingPlace型A place for a marking: a flat wall (at, right, up) or a hull of revolution (radius, y, az).
MarkingStyle型How a marking is made.
markingWidth関数How wide a text is in metres at a capital height: the width the marking will take on a hull, so a ship can centre it, fit it between hatches or keep it clear of a seam.
MaterialName型The name of one material in MATERIALS.
MATERIALS定数Every material the meshes use, by name.
MaterialSpec型One material: its colour, how metal and how rough it is in a 3D view, and the fill group it takes in a drawing.
mates関数Whether two facing collars mate: the same class, and both there.
MAX_PIXELS定数The most the backing store may hold, in pixels (a 620 x 827 view at a ratio of 2 is 2 million).
MAX_RATIO定数The sharpest ratio ever used, however dense the screen.
MAX_SIDE定数The longest side the backing store may have.
miyamotoHull関数The same arrangement on Miyamoto's own habitat drum.
MODEL_CREDITS定数Every licensed model this package paints with, by credit id.
ModelCredit型The credit for one licensed model: its title, its creator and their page, where it came from, its licence and what this package changed.
ModuleKind型What a module is for.
ModuleOptions型What a module draws with: how much small detail, whether to open the hull, a different colour scheme, a seed for the weathering.
Motion型One moving group of a ship: which ship and which tagged group, what it does and how fast, and its note.
MotionKind型What a moving group does: spin turns without end at rate degrees a second; swing goes from rest to to and back, with holds; sweep goes from from to to and back like a pendulum; slide moves along its axis from from to travel metres and back, on the same holds as a swing.
motionNote関数The sentence for the panel: what moves on this ship and how fast it really is.
MOTIONS定数Every motion of the fleet, by ship.
motionsOf関数The motions of one rocket: empty for a rocket with none.
motionSpeed関数How fast they move: fast is ten times the real speed, anything else the real speed.
MotionSpeed型The speeds of the Motion choice: real, or ten times faster so a slow part can be seen.
motionWanted関数Whether the moving parts move: the motion attribute says on (real speed) or fast (ten times), anything else leaves them still, and a reader who asked for reduced motion sees stills whatever it says.
moved関数The pieces with each moving group turned by the angle its name has in angles (degrees, 0 where it has none).
movingGroupsOf関数The names of the groups a part has that a flight can turn.
nameplate関数A ship's name plate: the prefix and name on one line and the registry on a line below, both in the face the fleet uses, on one flank.
noStep関数A "NO STEP" stencil, over a surface that will not take a person's weight.
OPTION_ATTRIBUTES定数The attributes of <uchusen-rocket> that choose what is drawn, in the order the demo writes them.
optionsFromAttributes関数The options read finds.
paintedCredit関数The CC BY line for a painted rocket, generated from the parts that are showing.
PART_ENTRIES定数Every part of every rocket, each with its record: its real size in metres, the joints it mates at, and where its shape came from.
PartBuild型How a part stands at day.
partEntry関数Finds a part by its id.
partIdOf関数A part's name for a rocket's slot in a variant.
PartKind型What kind of part a record is: a booster, a ship, a stage, a fairing, a capsule, an engine, a fin and so on.
PartPose型How a part stands in the picture at a phase.
PartRecord型The one record every part has: its id, kind and name, the rocket and variants it is true for, its height and diameter in metres, the sourced figures, its joints, any painted model, and where its shape came from.
pathClears関数Whether every leg but the last stays out of the hull.
Performance型What a ship can do, from its modules and engine cards.
performanceOf関数What a ship can do: from the mass of its modules and the thrust of its main engines.
phaseAt関数Which phase a place on the timeline is in, and how far along to the next.
phasePosition関数The place on the timeline of a phase by its id, or null for one the flight does not have.
pickBells関数Which count engines burn: from the middle out, and a ring that is only partly used has them evenly round it, so three of a Falcon 9's nine are the middle one and two opposite.
PICTURE_H定数The height of the picture a drawing is made in, in drawing units.
PICTURE_W定数The width of the picture a drawing is made in, in drawing units.
pixelRatioFor関数The device pixel ratio to draw a width x height view at: the screen's own, held to 2, to 4096 pixels a side and to 6 million in all.
Place型Where one part stands for a choice of what to show: its slot, its position in metres and whether it is shown at all.
Placed型One module placed on a ship: where its origin stands and how it is turned.
placesFor関数Where each part stands: up the stack joint to joint, or spread apart on a diagonal of the ground, or one part alone.
PLANNED_ROCKETS定数Rockets with sourced facts and no shape yet.
PlannedRocket型A rocket on the list with no mesh yet: its name and the sourced facts to build it from.
PLAY_RATES定数Story seconds that pass in one real second.
playFrame関数The build at at, from 0 when the keel is laid to 1 when the ship flies.
PlayFrame型One moment of the build: the story day, the slots that are finished, and the slots that are being built.
playFrom関数Whether the address asked for the build, and how far through it.
PlayStep型One step the player reads: the slot, when it starts and how long it takes.
plumeLength関数How long a flame is drawn, in metres, for an engine whose bell is exit metres across at the mouth.
Port型A mounting port on a module, off the spine: a collar that faces up (parallel to the spine), where another module of the same collar class can stand with its bottom on it.
portMarker関数A docking port's marker: a ring with four ticks and the number in the middle, painted round the port so a ship lines up on it.
propellantOf関数The record of what an engine burns, found by the engine's name in a variant's engine text, or null when no page read here names it.
PROPELLANTS定数The engines whose propellant a page read here names.
PROXIMA_LY定数The distance to Proxima Centauri in light years.
Rank型A rank reads at a glance: one boss, one manager for every six to eight drones, and the rest builders and grunts about equally.
rankOf関数The rank of drone drone in a crew of count.
Reading型One reading of a device's orientation: front to back (beta, -180 to 180 degrees) and left to right (gamma, -90 to 90 degrees).
REDUCED_FADE_MS定数How long the cross-fade lasts for a reader who asked for reduced motion, in milliseconds.
revealDelay関数How long to wait, once the 3D view is ready at readyAt, before it takes over from a drawing first seen at shownAt (0 under reduced motion).
ringsOf関数The bells grouped by how far they are from the part's axis, innermost ring first, and each ring in order round the axis.
RocketEntry型One rocket: its id and name, its variants, its default variant, the group it is listed under and who made it.
rocketFromParams関数The options a query names.
RocketOptions型Every choice that draws a rocket, as plain text: the same names and values as the element's attributes.
ROCKETS定数Every rocket that has a shape, by id, each with its variants.
rocketSpeed関数The relativistic rocket equation: the speed, as a fraction of c, that a rocket with exhaust speed exhaustOfC reaches burning from full down to dry mass.
RocketStatus型Whether a rocket is built (it has a shape) or planned (it has facts and no shape yet).
rocketToParams関数The options as a query for embed.html.
rolledUp関数The camera's up axis after a roll about the direction it looks along.
RoomKind型The name of a room in ROOMS.
ROOMS定数The rooms people need, named, each with a job and a size in metres: a cabin, a mess, a gym, a garden, an observation lounge, medical, a storm shelter, a recreation room, a school, a plaza, a bridge, a quarantine room, engineering, life support, stores and an airlock.
RoomSpec型One room: its id, the name a cutaway labels it with, its job, and its size in metres.
RoundPlace型Text wrapped on a hull of revolution round the spine (the Y axis, or the line through axis): y is the height of the middle of the capitals and az the azimuth of the anchor, in radians round Y from +Z towards +X, as everywhere else in the kit.
SAMPLE_SHIPS定数The kit's sample ships: three lists of modules, from a hauler with parallel cargo to a short scout and a bulwark with a shield.
SCALE_PERCENT定数The smallest and largest size the demo's slider offers, in per cent of the concept's drawn size, and the step between sizes.
scaleBar関数A scale bar for a sheet: a round length in metres that fits maxPixels at the scale pixelsPerMetre, with ticks, and the ratio when the sheet is dpi dots to an inch.
ScaleBar型A scale bar: a length in metres, its pixels at the sheet's scale, and the ticks along it.
scaleFactor関数The factor a size in per cent asks for: 1 for any craft that does not take the slider, and the size between 60 and 100 per cent, in steps of 5, for a concept.
scalePercent関数Clamps a size asked for to the slider's range and steps.
scalePieces関数The same pieces at k times the size: lengths, radii, thicknesses and offsets all scale; directions and angles do not, so a scaled ship is the same ship.
scaleReport関数The report of a fit checked at a size: every part's height, diameter and place, the whole size and the viewer's labels, k times what they are at full size.
SECONDS_PER_PHASE定数Seconds a phase takes on the screen when the timeline plays: one flight in under a minute, whatever its real length.
Section型One named section of a module: its id, its name, what it does, its role, where it lies as shares of the module's length (from the bottom) and, for a deck, that it is one.
SectionRole型What a section is, so a sheet can group and colour its labels.
SECTIONS定数The sections of each module, by module id, bottom to top.
SeparationOptions型How a separation joint is made: how many latch hooks and umbilical plates it has.
ShipIssue型What went wrong with a ship: which place, and why.
shipLevels関数A ship in two passes: the coarse pieces of every module at once, for a first picture, and the fine pass as one batch of pieces for each module, nearest first if order says so.
ShipList型A ship as the kit sees it: a list of modules, bottom of the spine first.
ShipMarks型One ship's public lettering.
shipParts関数A ship's parts for the registry: one entry for each place, named <ship>-<place>-<module>, with a record that carries its joints and, for a module hung beside or on a port, where it stands.
ShipParts型What a ship hands the registry: one part for each place, with its record, so together, apart and one-part-alone work.
shipPieces関数The pieces of a whole ship: every module in its place, with clamps from the spine to the modules hung beside it.
ShipPlace型One place on a ship: a module by id.
SHOP_LIMIT_M定数The widest part the shop will hand to a drone, in metres.
ShowName型What to show of a rocket: together, apart, or the slot of one part, such as booster.
showsOf関数The first choices of show, then one per slot.
SITE定数The address of the published demo, where embed.html is.
slideAt関数How far a slide has paid out, in metres.
SLOT_NAMES定数What to call a slot.
SlotPart型A part standing in a slot of a checked rocket.
Source型A source of a figure: its title, publisher and address, the date on it where it has one, how it was read (directly, by search or cited) and its licence.
SourceId型The id of a source in SOURCES.
SOURCES定数Every source a figure can name, by id.
spaceLength関数The length still flying, in metres, rounded.
spaceSlots関数The slots to draw when the craft is in space, or null when the picture stays the whole variant.
specBlock関数The spec block of a ship, for its sheet and its inspector: length, beam, height, dry and full mass, the engines by role, thrust, acceleration, top and cruise speed and the trip to Proxima Centauri in ship time and in Earth's.
SpecLine型A line of a spec block: a name, a value with its unit, and a note.
Spin型The slow turn of a rocket: the seconds a full turn takes (0 is none) and which way.
spinOf関数A spin from the spin and way attributes: a name, or seconds a turn.
stackDepth関数The total thickness of a stack in metres.
steppedPlace関数The place after seconds of play.
stepPhase関数Which phase a step is in on day, and how far through that phase.
sternLamp関数The steady white stern light: a dome in the nav-white material.
stills関数The numbered stills for reduced motion: the keel just laid, evenly spaced moments, and the finished ship.
stripeMarking関数A plain band of paint: width metres along the text and place.height metres across, in one material.
swapsFor関数The modules that swap for a module: those that share its slot, with the same collars and the same length.
SWARM_CAP定数The most drones one ship may have working at once.
swarmCount関数How many drones work this ship.
SwarmJob型One drone and the slot it is working.
swarmJobs関数Which slot each drone works at at.
THREE_VERSION定数The three.js a page with no bundler takes from the CDN: the version this package is built and tested with.
tiltMode関数Off under reduced motion, on a computer with a mouse, or where the browser has no orientation events; "ask" where it must ask first (iOS: a tap on "Tilt to turn" asks, never the page by itself); else on.
TiltMode型Whether tilting a device turns the view: off, ask (the browser must ask first, as on iOS) or on.
tiltTurn関数The turn (degrees round, degrees up or down) for a reading, measured from rest (how the device was held when tilting began).
timeBuild関数Builds a ship at a level and times it: the pieces of every module and then the mesh the viewer would be handed.
titleBlock関数A sheet's title block, written in-universe: the SPX fleet drawing office, the vehicle as "ISV <name>, <registry>", the maker "SPX", its class, drive and computer in the fleet's own codes (see GLOSSARY), and a status in the future tense: "PLANNED · FIRST FLIGHT 2412" or "IN DEVELOPMENT · FIRST FLIGHT PLANNED 2412", never "in service".
TitleBlock型A sheet's title block: the office, a line for each of the vehicle, its registry, class, drive and computer, the maker, sheet, scale, revision and status, and the vehicle's line in the fleet's own form.
tractorBeam関数The pieces of the beam.
trip関数A trip of distance light years that accelerates at a (in g) up to the cruise speed cruise (a fraction of c), coasts, and brakes at the same rate: constant proper acceleration, so the clocks follow the hyperbolic motion of special relativity.
Trip型A trip as ship time and Earth time.
turnedBy関数What the family's view controls choose: the turn and tip, in degrees, from a base angle.
Variant型One version of a rocket as data: its id, name, status, first flight, its parts from the bottom up, and the sourced facts about it.
VariantFacts型The sourced numbers of a variant: its height and diameter, each part's height by slot, its engines, other facts and any sizes that are not a height or a width.
variantOf関数Finds a rocket's variant, with its sourced sizes.
VariantStatus型What kind of thing a variant is: flown, announced (not built), an artist's model, a test vehicle or a support item.
Vec3型Three numbers: x, y and z.
VIEW_NAMES定数The names of the views, in the order the demo lists them: three-quarter, front, back, side and below.
ViewChoice型What the family's view controls report: the turn and tip in degrees, the zoom (1 is the whole rocket in the picture) and the pan in pixels.
ViewName型The name of one view in VIEW_NAMES.
VIEWS定数The angle of each named view.
WATCH_FLIGHT_S定数Real seconds one assembly flight takes at the Watch a flight speed.
Way型Which way a rocket turns: cw (clockwise) or ccw (counter-clockwise).
workLamp関数An amber work lamp, for a construction drone and a berth.

ソースを見るGitHub で編集@johnmorrisdotca/uchusen-rockets 0.14.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。