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 Sun, Moon and planets: pure parts

BeamOptionstype

What the attributes say: whether the beam is on, and its options.

Import it

import type { BeamOptions } from "@johnmorrisdotca/chikyu-earth/space";

Definition

interface BeamOptions {
    on: boolean;
    elevation: number;
    cells: number;
    cellSize: number;
    colour: string;
    strength: number;
}

Members

NameTypeDescription
onboolean
elevationnumber
cellsnumber
cellSizenumber
colourstring
strengthnumber

Examples

import type { BeamOptions } from "@johnmorrisdotca/chikyu-earth/space";

const options: BeamOptions = { on: true, elevation: 25, cells: 19, cellSize: 0, colour: "#8fd1ff", strength: 0.6 };
console.log(options.cells);

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