Skip to the content

Chikyu Earth地球

A line-drawn globe of the world's countries that turns at the Earth's own rate, with an optional realistic Earth from space and markers for any place.

Chikyu is the Japanese word 地球 for the Earth. About the name

Contents

Reference · The realistic Earth's pure parts

COUNTRY_LETTER_SPACINGconstant

The space between the letters of a country's name, as a share of the text's size (the style sheet's letter-spacing in em).

Import it

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

Definition

const COUNTRY_LETTER_SPACING: 0.06 = 0.06

Examples

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

console.log(COUNTRY_LETTER_SPACING * 12);
0.72

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chikyu-earth 0.51.1.