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

Readingtype

One reading of a device's orientation: front to back (beta, -180 to 180 degrees) and left to right (gamma, -90 to 90 degrees). Either is null when the device gives none.

Import it

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

Definition

interface Reading {
    beta: number | null;
    gamma: number | null;
}

Members

NameTypeDescription
betanumber | null

Front to back, -180 to 180 degrees.

gammanumber | null

Left to right, -90 to 90 degrees.

Examples

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

const reading: Reading = { beta: 20, gamma: -5 };
console.log(reading);
{ beta: 20, gamma: -5 }

What it prints (run when this page was built)

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