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 · The bright catalogue stars inside a cluster's outline

starsInsidefunction

The catalogue stars (magnitude 6.0 and brighter) that lie inside the circle of an object's major diameter, brightest first. This says where a star is, not what it belongs to: a star in front of a cluster or far behind it is in the list too, because the catalogue gives no cluster distance to tell them apart. Draw them as "inside the outline", not as proven members.

Import it

import { starsInside } from "@johnmorrisdotca/hoshi-stars/deep-sky/members";

Definition

function starsInside(object: DeepSkyObject, shape: DeepSkyShape): Star[]

Parameters

NameTypeDescription
objectDeepSkyObject

The deep-sky object (a cluster, usually).

shapeDeepSkyShape

Its shape from deepSkyShape; with no major axis the list is empty.

Returns

Star[]

A fresh array of the shared, frozen stars: empty where the object has no size or no catalogue star is inside.

Examples

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

const pleiades = deepSkyObject("M45")!;
console.log(starsInside(pleiades, deepSkyShape(pleiades)).map((star) => star.name ?? star.hr));
[
  'Alcyone',  'Atlas',
  'Electra',  'Maia',
  'Merope',   'Taygeta',
  'Pleione',  1172,
  'Celaeno',  1144,
  'Asterope'
]

What it prints (run when this page was built)

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