Skip to the content

Meikyuu迷宮

Generate seeded mazes and arrow puzzles, follow numbered levels, and play on flat grids or three-dimensional surfaces.

Meikyuu is the Japanese word 迷宮 for labyrinth. About the name

Contents

Reference · SVG grids

fixedfunction

A number as short text: two decimals at most, so a drawing is small.

Import it

import { fixed } from "@johnmorrisdotca/meikyuu/draw";

Definition

function fixed(n: number): string

Parameters

NameTypeDescription
nnumber

The level number, random bound or surface subdivision specified by the signature.

Returns

string

A number as short text: two decimals at most, so a drawing is small.

Examples

import { fixed } from "@johnmorrisdotca/meikyuu/draw";

console.log(fixed(1.23456));
1.23

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/meikyuu 3.2.0.