Skip to the content

Uchusen Rockets宇宙船

Rockets drawn from sourced sizes: line drawings and painted 3D views you drop into a page, take apart and turn round, and a typed model that checks whether a rocket really goes together.

Uchusen is the Japanese word 宇宙船 for spaceship. About the name

Contents

Reference

Rockets, variants, parts and the fit check

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

Exports

NameKindWhat it is
AngletypeAn angle to look from: az degrees round from the windward side towards +X, el degrees above the horizon.
angleAtfunctionThe angle of a group seconds into the show, in degrees.
approachPathfunctionBerth, parts store, the lane abreast of the slot, then the slot.
arrangementfunctionThe 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.
ArrangementtypeThe general-arrangement views at one scale.
assemblefunctionPuts a ship's list of modules in place and checks that every joint mates.
AssemblytypeA ship put together: its places, its mass and size, and the problems found.
assemblyOffunctionThe part at day.
assetPathOffunctionThe shipped picture of these options, under the package's dist/assets/: starship-v3.svg, falcon-9-block-5-apart.thick.svg.
attributesFromOptionsfunctionThe attributes that draw these options.
axesOffunctionThe camera's own axes for looking along direction, with up as near to +Y as it can be.
beaconLampfunctionThe slow red beacon: a dome in the beacon material.
BeamEndstypeThe two ends of a carry, and the slot the part is heading for.
beamLightfunctionThe beam as light in a drawing.
BeamPhasetypeWhat the beam is doing: taking hold, carrying, letting go, or watching the part settle into its slot.
BelltypeOne 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.
bellsOffunctionOne bell for every engine the pieces already draw.
berthRingfunctionA ring of berths around the parts stack, used when nothing is being carried.
BESIDE_MOSTconstantThe most craft that stand beside the one on screen: seven, so eight in all.
BESIDE_ROCKETconstantThe rocket that can stand beside another for scale: the real Starship stack, Super Heavy and the ship, Block 3.
besideBoundsfunctionThe box that holds both: what the camera must frame, and what Fit fits.
besideCraftfunctionThe 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).
besideLabelfunctionThe words that say what the craft beside it is: its name and its sourced length, such as "Starship with Super Heavy, 124.4 m".
besideLayoutfunctionWhere the other rocket stands: its offset in metres, to add to where its own parts stand, and the box it fills there.
blankfunctionA figure with no value: the shape of "no source gives this".
BUILD_BUDGET_MSconstantHow long a build may take, in milliseconds, on a normal laptop: the first picture (coarse) within a second and full detail within three.
BuilderOptiontypeOne part a row of the builder offers: its id, its name and the rocket it comes from.
BuilderRowtypeOne 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.
BUILDERSconstantThe 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.
builderStatefunctionThe rows for these picks, from the bottom.
BuilderStatetypeWhat the builder shows for a set of picks: its rows, the description they make and the fit report for it.
buildOffunctionThe build order of a ship, or nothing when that ship has no build to play.
BuildPhasetypeBring, join, outfit, then inspect.
BuildTimetypeHow long a build took, and what it made.
BuildWordstypeThe words the build bar says, each of which a page can replace.
burnsOffunctionHow many engines of each part burn in a phase, as drawn: a blank figure draws its drawn.
canBesidefunctionWhether Starship can stand beside this rocket: every rocket but Starship itself.
canScalefunctionWhether a craft takes the size slider: the three Kaminari concept hulls.
carriesfunctionWhere each drone is at at.
CarrytypeOne drone, where it is, and the point its beam aims at.
CDNconstantThe folder on a CDN the element loads from when the embed is a plain script with no bundler.
checkfunctionAsks whether a rocket goes together, from the parts' records alone, with no three.js and no DOM.
cleanLookfunctionA value from outside as a look's name: the default for anything else.
cleanShowfunctionA value from outside as something that can be shown.
cleanViewfunctionA value from outside as a view's name.
cleanWayfunctionAnything but ccw is the default way.
clockWordsfunctionA time as words: T+2:35, T-0:03, T+1:05:20.
COLLAR_CLASSESconstantThe collar classes in order of size.
CollarClasstypeThe four collar classes: S for small craft and service ports, M for the ordinary module spine, L for heavy spines, H for the heaviest.
COLLARSconstantThe collar standard: four classes, each twice the one before.
CollarSpectypeWhat a collar class is, in metres.
COMPANIESconstantThe company of every shipped ship: Miyamoto, Ariake, Hanabusa, Kaminari, Emiake and Romaryū.
CompanytypeOne ship's company: its crew, and every room they need.
COMPANY_KINDSconstantThe rooms every one of these ships has.
companyOffunctionOne ship's company.
CompanyShiptypeMiyamoto, Ariake, Hanabusa, the shipped Kaminari, Emiake or Romaryū.
CONCEPT_IDSconstantThe variant ids of the three concepts, in the order the picker lists them.
CONCEPT_ROCKETSconstantThe rocket ids that take the size slider.
conceptHullfunctionOne concept on Kaminari's own No.
conceptStylefunctionHow a concept is painted: the face as drawn, a solid fill on a plain field, and lamps for the night view.
craftNamefunctionThe 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".
CreditIdtypeThe id of one model's credit in MODEL_CREDITS.
creditLinefunctionOne credit as a line of text.
CrewSpacetypeOne 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.
CrewTasktypeWhat the drone is doing.
CROSSFADE_MSconstantHow long the drawing and the 3D view cross-fade, in milliseconds.
DecktypeOne deck of the numbered summary.
deckNumberfunctionA deck number, for beside a hatch.
deckSummaryfunctionThe numbered deck summary of a ship, bow to stern: every section that is a deck, numbered from 1 at the bow.
DEFAULT_LOOKconstantThe look used when none is named or the name is not a look: line.
DEFAULT_SPINconstantThe spin used when none is asked for: 180 seconds a turn, clockwise.
DEFAULT_VIEWconstantThe view used when none is named or the name is not a view: three-quarter.
demoHullfunctionA 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.
DescriptiontypeA 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.
designationfunctionA fleet ship's designation: SPX- and its code, such as "02" or "KIT-H".
directionOffunctionThe unit vector from what is looked at towards the camera.
DisagreementtypeAnother value a source gave for a figure, with the source and the reason it was not the one chosen.
dockingMarkingfunctionA docking marker: a ring with four ticks and the port's number in the middle, painted where a ship should line up.
DRAWING_HOLD_MSconstantThe drawing stays at least this long after it first comes on screen.
DRONEconstantWhere things are on the SPX repair drone, in its own frame: metres, its lowest point at y = 0, its front towards +Z.
DRONE_FILESconstantThe 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.
dutyOffunctionWhich job a material's glow has.
easedDistancefunctionA distance between two camera distances, even in scale.
easeInOutfunctionEase-in-out: slow at both ends, so a camera move does not start or stop with a jerk.
EMBED_KINDSconstantThe six ways embedCode writes a rocket for another page: element, iframe, module, svg, data and link.
embedCodefunctionThe text of one embed.
EmbedKindtypeOne of the ways in EMBED_KINDS.
embedNotefunctionWhat an embed asks of the page around it, in words: a line for the demo to show.
EmbedSettingstypeWhere the embed code points: the address of the demo that holds embed.html, and the CDN folder the element loads from.
ENGINE_CARDSconstantThe engine cards, by id.
EngineCardtypeOne engine type: what it burns, how hard it pushes and how it runs.
EnginePropellanttypeWhat 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.
EngineRoletypeWhat an engine does on a ship.
EngineRowtypeOne line of a ship's engine table: a role, the card, how many engines and their thrust together.
enginesWantedfunctionon asks for them, and a reader who asked for reduced motion has them off whatever the page says.
engineTablefunctionThe engine table of a ship: for each role, which engine card, how many engines and what thrust, from the modules in its list.
explodedfunctionThe 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.
ExplodedModuletypeOne module of an exploded assembly: its name, how far it moves from its place, and the points it mounts at.
FiguretypeA number or a text with where it came from.
figureWordsfunctionA figure as words for a table: its value and whatever must stay beside it; a blank says why, or that no source gives it.
FitCodetypeWhy 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.
FitIssuetypeOne thing a check found: its code, its level (error stops a build, note says what was decided) and a sentence saying it.
FitReporttypeThe 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_MSconstantWith 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.
FlameKindtypeThe kinds of flame the pictures have a colour for.
FlatPlacetypeText 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_MAKERconstantThe maker of every ship of the fleet, as the maker field says it: SPX, short.
FLEET_MARKING_ROCKETSconstantThe hull-marking rockets, by id: each candidate face on Kaminari's tank and on Miyamoto's habitat.
FLEET_MARKSconstantThe 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_OPERATORconstantThe organisation that operates the fleet, in the story: just "SPX", never spelled out.
FLEET_PALETTEconstantThe fleet's colours by role, as sRGB hex.
FleetColourtypeThe name of a role in FLEET_PALETTE.
FlighttypeA flight, from a published timeline: its rocket and variant, whose timing it is, its source and its phases in order.
FLIGHT_LOGconstantThe flights this package keeps a record of, each from a named source.
FlightBurntypeHow many engines of a part burn.
FlightClockclassThe clock of one timeline: where it is and whether it runs.
FlightFrametypeEverything 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.
flightLogOffunctionA rocket's flights, in order.
flightNowfunctionThe assembly flight underway at at: flights are the build steps in the order they start, named like an ISS flight.
flightOffunctionThe flight for a rocket's variant, when a page gives one.
FlightPhasetypeOne 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.
FLIGHTSconstantEvery flight the package can play, one for each variant that has a timeline.
FOV_DEGconstantThe camera's field of view, in degrees, top to bottom.
frameAtfunctionEverything the picture needs at a place on the timeline, for a vehicle height metres tall.
frameForfunctionThe nearest camera that holds the whole of min to max in a picture aspect wide for 1 tall, from angle.
FramingtypeWhere the camera stands: the point it looks at, its position and its distance from that point, in metres.
G0constantStandard gravity in m/s^2.
GLOSSARYconstantThe fleet's acronyms and what they stand for.
GlossaryCodetypeThe name of an acronym in GLOSSARY.
groundedfunctionWhether slot may stand in the picture.
hangarNumberfunctionA hangar's number, in a painted box.
hazardMarkingfunctionDiagonal 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_MARKSconstantThe lettering places of each ship, in that ship's own metres.
HULL_STACKSconstantThe hull-layer presets by role.
HullBoxtypeA box the path must not pass through, in metres.
HullLayertypeOne 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.
HullMarktypeOne place a ship carries its lettering.
hullMarkingsfunctionThe pieces of one ship's lettering, in the ship's own metres, ready to stand on the hull.
HullStacktypeA stack of hull layers for a role, outside in.
HullStackNametypeThe name of a preset in HULL_STACKS.
InsettypeA system inset: an id and name, what it is, and its numbered sub-parts.
InsetParttypeOne 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.
INSETSconstantThe four system insets by id: reactor core, navigation and sensor suite, life support, docking port, each with five or six numbered sub-parts.
inspectAtfunctionOne drone's place around a finished hull.
InspectPlacetypeOne drone at one moment: where it is, the spot it is looking at, and whether it is holding still.
isCoarsefunctionWhether 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).
JointtypeWhere a part mates.
KAMINARI_CONCEPT_VARIANTSconstantThe three ships' variants: Kaminari, Emiake and its deployed sails, then Romaryū.
kanjiPlatefunctionThe kanji of a ship's name, and its class beside it where it has one, in one formal place.
KITconstantEvery module of the fleet kit, by id: name, mass and size in metres, collars, ports and how to draw it.
KitModuletypeOne 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.
LabeltypeOne 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.
labelDensityfunctionHow dense a ship's labels are: labels for each hundred metres, and the share of the length each label stands for.
labelsOffunctionThe 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.
lampFactorfunctionHow bright a lamp is now, from 0 to 1.
lastPositionfunctionThe last place on the timeline: the last phase.
LEGENDconstantThe symbol legend: the marks a sheet uses for hatches, locks, ladders, lifts, valves, pumps, lines and radiation.
LegendSymboltypeA 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.
lightModefunctionThe Lights choice, from the attribute or the address.
lightPoolfunctionA baked pool of warm light on a surface: a thin sheet in the light-pool material, lying in the frame.
LiverytypeA colour scheme: the panel colours of a module.
LIVERYconstantThe fleet's liveries.
LiveryNametypeThe name of a livery in LIVERY.
lockupfunctionA 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.
LoggedFlighttypeOne 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.
LooktypeWhat 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_NAMESconstantThe names of the looks: line, thick and painted.
LookNametypeThe name of one look in LOOK_NAMES.
LOOKSconstantEvery look, by name.
MakerIdtypeThe id of a group in MAKERS.
MAKERSconstantThe groups the demo lists rockets under, by id, with the name shown for each.
markedHaulerfunctionThe 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.
markingfunctionText on a hull.
MarkingPlacetypeA place for a marking: a flat wall (at, right, up) or a hull of revolution (radius, y, az).
MarkingStyletypeHow a marking is made.
markingWidthfunctionHow 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.
MaterialNametypeThe name of one material in MATERIALS.
MATERIALSconstantEvery material the meshes use, by name.
MaterialSpectypeOne material: its colour, how metal and how rough it is in a 3D view, and the fill group it takes in a drawing.
matesfunctionWhether two facing collars mate: the same class, and both there.
MAX_PIXELSconstantThe most the backing store may hold, in pixels (a 620 x 827 view at a ratio of 2 is 2 million).
MAX_RATIOconstantThe sharpest ratio ever used, however dense the screen.
MAX_SIDEconstantThe longest side the backing store may have.
miyamotoHullfunctionThe same arrangement on Miyamoto's own habitat drum.
MODEL_CREDITSconstantEvery licensed model this package paints with, by credit id.
ModelCredittypeThe credit for one licensed model: its title, its creator and their page, where it came from, its licence and what this package changed.
ModuleKindtypeWhat a module is for.
ModuleOptionstypeWhat a module draws with: how much small detail, whether to open the hull, a different colour scheme, a seed for the weathering.
MotiontypeOne moving group of a ship: which ship and which tagged group, what it does and how fast, and its note.
MotionKindtypeWhat 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.
motionNotefunctionThe sentence for the panel: what moves on this ship and how fast it really is.
MOTIONSconstantEvery motion of the fleet, by ship.
motionsOffunctionThe motions of one rocket: empty for a rocket with none.
motionSpeedfunctionHow fast they move: fast is ten times the real speed, anything else the real speed.
MotionSpeedtypeThe speeds of the Motion choice: real, or ten times faster so a slow part can be seen.
motionWantedfunctionWhether 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.
movedfunctionThe pieces with each moving group turned by the angle its name has in angles (degrees, 0 where it has none).
movingGroupsOffunctionThe names of the groups a part has that a flight can turn.
nameplatefunctionA 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.
noStepfunctionA "NO STEP" stencil, over a surface that will not take a person's weight.
OPTION_ATTRIBUTESconstantThe attributes of <uchusen-rocket> that choose what is drawn, in the order the demo writes them.
optionsFromAttributesfunctionThe options read finds.
paintedCreditfunctionThe CC BY line for a painted rocket, generated from the parts that are showing.
PART_ENTRIESconstantEvery part of every rocket, each with its record: its real size in metres, the joints it mates at, and where its shape came from.
PartBuildtypeHow a part stands at day.
partEntryfunctionFinds a part by its id.
partIdOffunctionA part's name for a rocket's slot in a variant.
PartKindtypeWhat kind of part a record is: a booster, a ship, a stage, a fairing, a capsule, an engine, a fin and so on.
PartPosetypeHow a part stands in the picture at a phase.
PartRecordtypeThe 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.
pathClearsfunctionWhether every leg but the last stays out of the hull.
PerformancetypeWhat a ship can do, from its modules and engine cards.
performanceOffunctionWhat a ship can do: from the mass of its modules and the thrust of its main engines.
phaseAtfunctionWhich phase a place on the timeline is in, and how far along to the next.
phasePositionfunctionThe place on the timeline of a phase by its id, or null for one the flight does not have.
pickBellsfunctionWhich 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_HconstantThe height of the picture a drawing is made in, in drawing units.
PICTURE_WconstantThe width of the picture a drawing is made in, in drawing units.
pixelRatioForfunctionThe 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.
PlacetypeWhere one part stands for a choice of what to show: its slot, its position in metres and whether it is shown at all.
PlacedtypeOne module placed on a ship: where its origin stands and how it is turned.
placesForfunctionWhere each part stands: up the stack joint to joint, or spread apart on a diagonal of the ground, or one part alone.
PLANNED_ROCKETSconstantRockets with sourced facts and no shape yet.
PlannedRockettypeA rocket on the list with no mesh yet: its name and the sourced facts to build it from.
PLAY_RATESconstantStory seconds that pass in one real second.
playFramefunctionThe build at at, from 0 when the keel is laid to 1 when the ship flies.
PlayFrametypeOne moment of the build: the story day, the slots that are finished, and the slots that are being built.
playFromfunctionWhether the address asked for the build, and how far through it.
PlaySteptypeOne step the player reads: the slot, when it starts and how long it takes.
plumeLengthfunctionHow long a flame is drawn, in metres, for an engine whose bell is exit metres across at the mouth.
PorttypeA 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.
portMarkerfunctionA 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.
propellantOffunctionThe 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.
PROPELLANTSconstantThe engines whose propellant a page read here names.
PROXIMA_LYconstantThe distance to Proxima Centauri in light years.
RanktypeA rank reads at a glance: one boss, one manager for every six to eight drones, and the rest builders and grunts about equally.
rankOffunctionThe rank of drone drone in a crew of count.
ReadingtypeOne 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_MSconstantHow long the cross-fade lasts for a reader who asked for reduced motion, in milliseconds.
revealDelayfunctionHow 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).
ringsOffunctionThe bells grouped by how far they are from the part's axis, innermost ring first, and each ring in order round the axis.
RocketEntrytypeOne rocket: its id and name, its variants, its default variant, the group it is listed under and who made it.
rocketFromParamsfunctionThe options a query names.
RocketOptionstypeEvery choice that draws a rocket, as plain text: the same names and values as the element's attributes.
ROCKETSconstantEvery rocket that has a shape, by id, each with its variants.
rocketSpeedfunctionThe 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.
RocketStatustypeWhether a rocket is built (it has a shape) or planned (it has facts and no shape yet).
rocketToParamsfunctionThe options as a query for embed.html.
rolledUpfunctionThe camera's up axis after a roll about the direction it looks along.
RoomKindtypeThe name of a room in ROOMS.
ROOMSconstantThe 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.
RoomSpectypeOne room: its id, the name a cutaway labels it with, its job, and its size in metres.
RoundPlacetypeText 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_SHIPSconstantThe 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_PERCENTconstantThe smallest and largest size the demo's slider offers, in per cent of the concept's drawn size, and the step between sizes.
scaleBarfunctionA 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.
ScaleBartypeA scale bar: a length in metres, its pixels at the sheet's scale, and the ticks along it.
scaleFactorfunctionThe 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.
scalePercentfunctionClamps a size asked for to the slider's range and steps.
scalePiecesfunctionThe 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.
scaleReportfunctionThe 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_PHASEconstantSeconds a phase takes on the screen when the timeline plays: one flight in under a minute, whatever its real length.
SectiontypeOne 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.
SectionRoletypeWhat a section is, so a sheet can group and colour its labels.
SECTIONSconstantThe sections of each module, by module id, bottom to top.
SeparationOptionstypeHow a separation joint is made: how many latch hooks and umbilical plates it has.
ShipIssuetypeWhat went wrong with a ship: which place, and why.
shipLevelsfunctionA 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.
ShipListtypeA ship as the kit sees it: a list of modules, bottom of the spine first.
ShipMarkstypeOne ship's public lettering.
shipPartsfunctionA 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.
ShipPartstypeWhat a ship hands the registry: one part for each place, with its record, so together, apart and one-part-alone work.
shipPiecesfunctionThe pieces of a whole ship: every module in its place, with clamps from the spine to the modules hung beside it.
ShipPlacetypeOne place on a ship: a module by id.
SHOP_LIMIT_MconstantThe widest part the shop will hand to a drone, in metres.
ShowNametypeWhat to show of a rocket: together, apart, or the slot of one part, such as booster.
showsOffunctionThe first choices of show, then one per slot.
SITEconstantThe address of the published demo, where embed.html is.
slideAtfunctionHow far a slide has paid out, in metres.
SLOT_NAMESconstantWhat to call a slot.
SlotParttypeA part standing in a slot of a checked rocket.
SourcetypeA 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.
SourceIdtypeThe id of a source in SOURCES.
SOURCESconstantEvery source a figure can name, by id.
spaceLengthfunctionThe length still flying, in metres, rounded.
spaceSlotsfunctionThe slots to draw when the craft is in space, or null when the picture stays the whole variant.
specBlockfunctionThe 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.
SpecLinetypeA line of a spec block: a name, a value with its unit, and a note.
SpintypeThe slow turn of a rocket: the seconds a full turn takes (0 is none) and which way.
spinOffunctionA spin from the spin and way attributes: a name, or seconds a turn.
stackDepthfunctionThe total thickness of a stack in metres.
steppedPlacefunctionThe place after seconds of play.
stepPhasefunctionWhich phase a step is in on day, and how far through that phase.
sternLampfunctionThe steady white stern light: a dome in the nav-white material.
stillsfunctionThe numbered stills for reduced motion: the keel just laid, evenly spaced moments, and the finished ship.
stripeMarkingfunctionA plain band of paint: width metres along the text and place.height metres across, in one material.
swapsForfunctionThe modules that swap for a module: those that share its slot, with the same collars and the same length.
SWARM_CAPconstantThe most drones one ship may have working at once.
swarmCountfunctionHow many drones work this ship.
SwarmJobtypeOne drone and the slot it is working.
swarmJobsfunctionWhich slot each drone works at at.
THREE_VERSIONconstantThe three.js a page with no bundler takes from the CDN: the version this package is built and tested with.
tiltModefunctionOff 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.
TiltModetypeWhether tilting a device turns the view: off, ask (the browser must ask first, as on iOS) or on.
tiltTurnfunctionThe turn (degrees round, degrees up or down) for a reading, measured from rest (how the device was held when tilting began).
timeBuildfunctionBuilds a ship at a level and times it: the pieces of every module and then the mesh the viewer would be handed.
titleBlockfunctionA 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".
TitleBlocktypeA 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.
tractorBeamfunctionThe pieces of the beam.
tripfunctionA 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.
TriptypeA trip as ship time and Earth time.
turnedByfunctionWhat the family's view controls choose: the turn and tip, in degrees, from a base angle.
VarianttypeOne version of a rocket as data: its id, name, status, first flight, its parts from the bottom up, and the sourced facts about it.
VariantFactstypeThe 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.
variantOffunctionFinds a rocket's variant, with its sourced sizes.
VariantStatustypeWhat kind of thing a variant is: flown, announced (not built), an artist's model, a test vehicle or a support item.
Vec3typeThree numbers: x, y and z.
VIEW_NAMESconstantThe names of the views, in the order the demo lists them: three-quarter, front, back, side and below.
ViewChoicetypeWhat 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.
ViewNametypeThe name of one view in VIEW_NAMES.
VIEWSconstantThe angle of each named view.
WATCH_FLIGHT_SconstantReal seconds one assembly flight takes at the Watch a flight speed.
WaytypeWhich way a rocket turns: cw (clockwise) or ccw (counter-clockwise).
workLampfunctionAn amber work lamp, for a construction drone and a berth.

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/uchusen-rockets 0.14.0.