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

turnedByfunction

What the family's view controls choose: the turn and tip, in degrees, from a base angle. Dragging right makes yaw larger, which carries the camera the other way round; tilt larger tips the top away, which lowers the camera.

Import it

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

Definition

function turnedBy(base: Angle, yaw: number, tilt: number): Angle

Parameters

NameTypeDescription
baseAngle

The angle to turn from.

yawnumber

Degrees turned round.

tiltnumber

Degrees tipped up or down.

Returns

Angle

The new angle.

Examples

import { turnedBy, VIEWS } from "@johnmorrisdotca/uchusen-rockets";

console.log(turnedBy(VIEWS.front, 30, 10));
{ az: -30, el: -7 }

What it prints (run when this page was built)

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