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

kidsSvgfunction

One sheet as an SVG string measured in millimetres: the picture of the body, the colours to colour it with and three facts, in English or Japanese; or the lineup of all the planets at one scale. widthMm and heightMm are the room it is drawn for (kidsRoom), and the viewBox is that room, so a millimetre is a millimetre on paper.

Import it

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

Definition

function kidsSvg(id: KidsSheet, options: { widthMm: number; heightMm: number; lang?: Lang; }): string

Parameters

NameTypeDescription
id"sun" | "mercury" | "venus" | "earth" | "mars" | "jupiter" | "saturn" | "uranus" | "neptune" | "pluto" | "moon" | "io" | "europa" | "ganymede" | "callisto" | "titan" | "triton" | "charon" | "lineup"

A body with a sheet, or lineup.

options{ widthMm: number; heightMm: number; lang?: Lang; }

The room, and the language.

Returns

string

The <svg> markup.

Examples

import { kidsRoom, kidsSvg } from "@johnmorrisdotca/wakusei-planets/sheets";

const room = kidsRoom("a4");
console.log(kidsSvg("saturn", { ...room, lang: "en" }).includes("Colour me!"));
true

What it prints (run when this page was built)

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