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 · Pictures of deep-sky objects and where each lies on the sky

deepSkyPicturefunction

The widest picture of an object by its designation (M31, m 31, Messier 31, NGC 7000), ignoring case and spacing: the survey picture, which shows the whole object and the sky round it. It is found by the object's own id: NGC 224 finds nothing, because the picture is filed as M31. For the finer pictures of part of an object, use deepSkyPicturesOf.

Import it

import { deepSkyPicture } from "@johnmorrisdotca/hoshi-stars/deep-sky/pictures";

Definition

function deepSkyPicture(text: string): DeepSkyPicture | undefined

Parameters

NameTypeDescription
textstring

The object's id.

Returns

DeepSkyPicture | undefined

The picture, or undefined where the object has none.

Examples

import { deepSkyPicture } from "@johnmorrisdotca/hoshi-stars/deep-sky/pictures";

console.log(deepSkyPicture("M 42")?.source.name, deepSkyPicture("M40")?.file);
ESO undefined

What it prints (run when this page was built)

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