Skip to the content

Hoshi Stars星

The stars you can see without a telescope, with names, colours and distances; the 88 constellations with their lines and boundaries; the Messier objects; and seven map projections to draw them on.

Hoshi is the Japanese word 星 for a star. About the name

Contents

Reference · How big a Messier object is on the sky and which way it lies, and its outline

measuredPartsfunction

Which parts of an object's drawn shape are measured: the size, the axis ratio and the angle. An object whose axis ratio or angle is not measured is drawn round, so oval says whether the drawing is the measured ellipse.

Import it

import { measuredParts } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";

Also exported from: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic-shape

Definition

function measuredParts(shape: DeepSkyShape): { size: boolean; ratio: boolean; angle: boolean; oval: boolean; }

Parameters

NameTypeDescription
shapeDeepSkyShape

The shape from deepSkyShape.

Returns

{ size: boolean; ratio: boolean; angle: boolean; oval: boolean; }

size, ratio and angle as true where measured, and oval as true where both of the last two are.

Examples

import { deepSkyObject } from "@johnmorrisdotca/hoshi-stars/deep-sky";
import { deepSkyShape, measuredParts } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";

console.log(measuredParts(deepSkyShape(deepSkyObject("M42")!)));
{ size: true, ratio: false, angle: false, oval: false }

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hoshi-stars 0.47.0.