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

Looktype

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. A look never changes a shape.

Import it

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

Definition

interface Look {
    line: string;
    outlinePx: number;
    featurePx: number;
    weldPx: number;
    weldOpacity: number;
    outline: number;
    feature: number;
    weld: number;
    fills: Readonly<Record<FillName, readonly [
        string,
        string,
        string
    ]>>;
    halo: boolean;
}

Members

NameTypeDescription
linestring

The colour of its lines.

outlinePxnumber

Pixels wide in a 3D view: the outline and the lines between.

featurePxnumber
weldPxnumber
weldOpacitynumber

How much of the weld lines shows.

outlinenumber

The drawing's strokes, in its units.

featurenumber
weldnumber
fillsReadonly<Record<FillName, readonly [string, string, string]>>

The drawing's fills, by material group.

haloboolean

The soft light behind the rocket in a drawing.

Examples

import { LOOKS, type Look } from "@johnmorrisdotca/uchusen-rockets";

const thick: Look = LOOKS.thick;
console.log(thick.line, thick.outline);
#b4c2d4 3.4

What it prints (run when this page was built)

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