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

BeamPhasetype

What the beam is doing: taking hold, carrying, letting go, or watching the part settle into its slot.

Import it

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

Definition

type BeamPhase = "attach" | "carry" | "release" | "settle";

Examples

import { tractorBeam, type BeamPhase } from "@johnmorrisdotca/uchusen-rockets";

const phase: BeamPhase = "carry";
console.log(tractorBeam({ from: [0, 0, 0], part: [0, 8, 0], slot: [0, 10, 0] }, phase).length > 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.