本文へ移動

Hoshi Stars星

肉眼で見える星の名前・色・距離、88星座の線と境界、メシエ天体、そしてそれらを描くための7種類の図法を使えます。

「星」(ほし) は、夜空に光って見えるものです。 名前について(英語)

目次

リファレンス · 星図の図法

Projection型

リファレンスの説明と例は英語です。見出しと目次は日本語です。

The kinds of projection.

  • stereographic: keeps shapes (conformal); the whole sphere but the antipode, stretching to the edge. Radius 2 at 90 degrees from the centre.
  • orthographic: the sky as a ball seen from far away; the near hemisphere only. Radius 1 at 90 degrees.
  • gnomonic: great circles are straight lines; less than 90 degrees from the centre.
  • equidistant: the azimuthal equidistant; distance from the centre is true, the whole sphere is a disc of radius pi.
  • equirectangular: the plain right ascension and declination plot; the centre's declination moves the chart up or down.
  • mollweide: an equal-area oval of the whole sky, turned so the centre is its middle.
  • hammer: Hammer's equal-area oval of the whole sky (often called Hammer-Aitoff), turned so the centre is its middle.

インポート

import type { Projection } from "@johnmorrisdotca/hoshi-stars/projection";

定義

type Projection = (typeof PROJECTIONS)[number];

例

import { PROJECTIONS, type Projection } from "@johnmorrisdotca/hoshi-stars/projection";

const kind: Projection = PROJECTIONS[0];
console.log(kind, PROJECTIONS.length);
stereographic 7

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/hoshi-stars 0.7.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。