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 · Your sky: altitude and azimuth for a place and a moment

precessfunction

A J2000 position carried to the mean equator and equinox of a date: the precession of the Earth's axis (Meeus chapter 21, the rigorous method with the IAU 1976 constants, good for a few centuries either side of 2000 to far under an arc-second). It leaves out the star's own proper motion (which starPosition adds), nutation and aberration, together under a minute of arc.

Import it

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

Definition

function precess(position: SkyPoint, when: When): SkyPoint

Parameters

NameTypeDescription
positionSkyPoint

A right ascension and declination in degrees at J2000.

whenWhen

The date to carry it to.

Returns

SkyPoint

The right ascension (0 up to but not including 360) and declination in degrees.

Examples

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

// Meeus example 21.b: theta Persei, carried to 2028 November 13.19 (about 15 minutes of arc east in right ascension)
const there = precess({ rightAscension: 41.054063, declination: 49.227750 }, Date.UTC(2028, 10, 13, 4, 33, 36));
console.log(there.rightAscension.toFixed(3), there.declination.toFixed(3)); // 41.547 49.348
41.547 49.348

What it prints (run when this page was built)

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