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 · Printable sheets: the globe and a world map to colour, my country, day and night, the seasons

continentLinesfunction

The coasts of the continents as lines in longitude and latitude, for a child to colour a whole continent: the line round each continent and between two continents (Europe and Asia), and none between two countries of one continent. Islands under minAreaSr steradians are left out (about 80,000 square kilometres at the default, so Great Britain, Japan, Madagascar and New Zealand stay and small islands go, which at a thick line would only be blobs).

Import it

import { continentLines } from "@johnmorrisdotca/chikyu-earth/sheets";

Definition

function continentLines(minAreaSr?: number): [number, number][][]

Parameters

NameTypeDescription
minAreaSr (optional)number

The smallest island kept, in steradians (the whole sphere is 4 pi).

Returns

[number, number][][]

Lines of [longitude, latitude] points.

Examples

import { continentLines } from "@johnmorrisdotca/chikyu-earth/sheets";

const lines = continentLines();
console.log(lines.length > 5, lines[0]?.length);
true 46

What it prints (run when this page was built)

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