本文へ移動

Chikyu Earth地球

世界の国の輪郭を線で描いた地球儀です。地球と同じ速さで回ります。宇宙から見たような地球と、好きな場所の目印も使えます。

「地球」(ちきゅう) は、私たちが住む星の名前です。 名前について(英語)

目次

リファレンス · リアルな地球の計算部分

GridStats型

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

What the grid has done: whether it is drawn, whether it shows the lines every 15 degrees (else every 30), how many segments the last draw had, and how many times its lines were made.

インポート

import type { GridStats } from "@johnmorrisdotca/chikyu-earth/realistic";

定義

interface GridStats {
    shown: boolean;
    fine: boolean;
    segments: number;
    builds: number;
    failed: boolean;
}

メンバー

名前型説明
shownboolean
fineboolean
segmentsnumber
buildsnumber
failedboolean

例

import type { GridStats } from "@johnmorrisdotca/chikyu-earth/realistic";

const none: GridStats = { shown: false, fine: false, segments: 0, builds: 0, failed: false };
console.log(none);

ソースを見るGitHub で編集@johnmorrisdotca/chikyu-earth 0.51.1 のソースから作成しました。

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