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

lightPoolfunction

A baked pool of warm light on a surface: a thin sheet in the light-pool material, lying in the frame. It is not a real light source.

Import it

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

Definition

function lightPool(frame: Frame, radius: number): Piece[]

Parameters

NameTypeDescription
frameFrame

The surface it lies on. w points out of the surface.

radiusnumber

How far the pool reaches, in metres.

Returns

Piece[]

The one sheet.

Examples

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

const pool = lightPool({ o: [0, 0, 0], u: [1, 0, 0], v: [0, 1, 0], w: [0, 0, 1] }, 1);
console.log(pool[0].kind);
plate

What it prints (run when this page was built)

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