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

tileRowsfunction

Rows in a level.

Import it

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

Definition

function tileRows(level: number): number

Parameters

NameTypeDescription
levelnumber

A pyramid level.

Returns

number

2^level.

Examples

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

console.log(tileRows(4));
16

What it prints (run when this page was built)

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