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

lookStylefunction

The inline custom properties a look needs: none for plain paper with the default line, which the style gives.

Import it

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

Definition

function lookStyle(look: MazeLook): string

Parameters

NameTypeDescription
lookMazeLook

Native board, trail, wall and line appearance choices.

Returns

string

The inline custom properties a look needs: none for plain paper with the default line, which the style gives.

Examples

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

console.log(lookStyle({board:"paper",trail:"green"}));

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