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

Framingtype

Where the camera stands: the point it looks at, its position and its distance from that point, in metres.

Import it

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

Definition

interface Framing {
    target: Vec3;
    position: Vec3;
    distance: number;
}

Members

NameTypeDescription
targetVec3
positionVec3
distancenumber

Examples

import { frameFor, type Framing } from "@johnmorrisdotca/uchusen-rockets";

const framing: Framing = frameFor([-5, 0, -5], [5, 100, 5], { az: 30, el: 15 }, 480 / 640);
console.log(framing.distance > 0);
true

What it prints (run when this page was built)

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