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

arrowColourfunction

The colour of arrow number id.

Import it

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

Definition

function arrowColour(id: number): string

Parameters

NameTypeDescription
idnumber

The zero-based arrow index.

Returns

string

The colour of arrow number id.

Examples

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

console.log(arrowColour(0));
#d9381e

What it prints (run when this page was built)

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