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

BeamEndstype

The two ends of a carry, and the slot the part is heading for.

Import it

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

Definition

interface BeamEnds {
    from: Vec3;
    part: Vec3;
    slot: Vec3;
}

Members

NameTypeDescription
fromVec3

The emitter, on the drone.

partVec3

Where the part is.

slotVec3

Where the part settles.

Examples

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

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