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 sky seen from another star, with the nearby stars moved too

skyFromWithNearbyfunction

skyFrom over the 5,080 bright stars and the 5,565 nearby stars together. A name is looked up among the bright stars first, then the nearby ones (Proxima Centauri, GJ 551, Barnard's Star). A nearby star with no magnitude (the catalogue gives one for most) cannot be given a brightness and is counted in skipped with the stars that have no distance. The Sun is among the stars.

Import it

import { skyFromWithNearby } from "@johnmorrisdotca/hoshi-stars/sky-from/nearby";

Definition

function skyFromWithNearby(viewpoint: SkyFromViewpoint, options?: Omit<SkyFromOptions, "among">): SeenSky

Parameters

NameTypeDescription
viewpointSkyFromViewpoint

As for skyFrom, and the name of a nearby star.

options (optional)Omit<SkyFromOptions, "among">

magnitude, the faintest apparent magnitude to include. among is the table: it is set here.

Returns

SeenSky

A new list of seen stars, brightest first, with a skipped count.

Examples

import { skyFromWithNearby } from "@johnmorrisdotca/hoshi-stars/sky-from/nearby";

const sky = skyFromWithNearby("Proxima Centauri", { magnitude: 0 });
console.log(sky.map((star) => star.name ?? star.designation));
[ 'Rigil Kentaurus', 'Toliman', 'Sirius', 'Canopus', 'Arcturus' ]

What it prints (run when this page was built)

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