Skip to the content

Wakusei Planets惑星

The Sun, the planets and their moons as a clean line drawing, a shaded realistic drawing or a painted surface map, with real sizes, tilt and rotation, and the moons where they are at any date and time.

Wakusei is the Japanese word 惑星 for a planet. About the name

Contents

Reference · Printable colouring sheets for children: the Sun, the planets and the big moons as thick-line pictures with the real colours and three facts, and all the planets in a row at one scale, in English and Japanese

colouringArtfunction

A body as a colouring picture: thick black outlines on white (the outline 3 mm, every line inside 2.5 mm), its big features, its rings, and the Sun's rays. The picture is drawn at its centre (cx, cy) with r millimetres for the body's radius. outline is the outline's thickness; the lines inside are 2.5 mm or, for a thinner outline, a little less.

Import it

import { colouringArt } from "@johnmorrisdotca/wakusei-planets/sheets";

Definition

function colouringArt(id: BodyId, cx: number, cy: number, r: number, outline?: number): string

Parameters

NameTypeDescription
idBodyId

The body's name.

cxnumber

The centre's place, in millimetres.

cynumber

The centre's place, in millimetres.

rnumber

The body's radius, in millimetres.

outline (optional)number

The outline's thickness in millimetres. Default 3.

Returns

string

The SVG markup of the body, to put inside an <svg> measured in millimetres.

Examples

import { colouringArt } from "@johnmorrisdotca/wakusei-planets/sheets";

console.log(colouringArt("mars", 50, 50, 40).startsWith("<g"));
true

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/wakusei-planets 0.24.0.