リファレンス · 暗い星 (UCAC4の約300万個、12等まで。見ている空の部分のタイルだけを読み込みます)
faintSky関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Make the loader for the faint stars. It is starSky with the package's own UCAC4 source (ucac4Source); to add a source of your own, or to see the credits of what is drawn, use starSky from @johnmorrisdotca/hoshi-stars/door.
インポート
import { faintSky } from "@johnmorrisdotca/hoshi-stars/faint";
定義
function faintSky(options?: FaintSkyOptions): FaintSky
引数
| 名前 | 型 | 説明 |
|---|---|---|
options (省略可) | FaintSkyOptions | Where the tiles are, and the |
戻り値
FaintSky
The loader.
例
import { faintSky } from "@johnmorrisdotca/hoshi-stars/faint";
const sky = faintSky({ baseUrl: "https://cdn.jsdelivr.net/gh/johnmorrisdotca/hoshi-stars/faint-tiles/" });
await sky.load({ rightAscension: 299, declination: 40, radius: 2 }, 12);この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。