本文へ移動

Wakusei Planets惑星

太陽・惑星・衛星を、線画、陰影つきの絵、表面の地図で描きます。実際の大きさ・傾き・自転つきで、任意の日時の衛星の位置も分かります。

「惑星」(わくせい) は、太陽のまわりを回る大きな星のことです。 名前について(英語)

目次

リファレンス · <wakusei-body> 要素

TILES_BASE定数

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

Where the finer map tiles are by default: the demo site's tiles/ folder (GitHub Pages sends access-control-allow-origin: *). The tiles are made by scripts/make-body-tiles.py and are in no package and no repository: a page that serves its own gives the folder in the tiles attribute, and tiles="off" turns them off. A page that sets texture-base (it serves its own pictures) has none unless it says where they are.

インポート

import { TILES_BASE } from "@johnmorrisdotca/wakusei-planets/element";

定義

const TILES_BASE: "https://johnmorrisdotca.github.io/wakusei-planets/tiles/" = "https://johnmorrisdotca.github.io/wakusei-planets/tiles/"

例

import { TILES_BASE } from "@johnmorrisdotca/wakusei-planets/element";

console.log(TILES_BASE);

ソースを見るGitHub で編集@johnmorrisdotca/wakusei-planets 0.29.0 のソースから作成しました。

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