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

MEIKYUU_TRAILSconstant

The light and dark colours of every named trail.

Import it

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

Definition

const MEIKYUU_TRAILS: { readonly green: { readonly light: "#2e8b57"; readonly dark: "#6fcf97"; }; readonly blue: { readonly light: "#2865a6"; readonly dark: "#7fb4ee"; }; readonly red: { readonly light: "#d9381e"; readonly dark: "#ff8a6b"; }; readonly violet: { readonly light: "#7b4fb0"; readonly dark: "#c3a1f0"; }; readonly orange: { readonly light: "#d97a1e"; readonly dark: "#ffb061"; }; } = {
    green: { light: "#2e8b57", dark: "#6fcf97" },
    blue: { light: "#2865a6", dark: "#7fb4ee" },
    red: { light: "#d9381e", dark: "#ff8a6b" },
    violet: { light: "#7b4fb0", dark: "#c3a1f0" },
    orange: { light: "#d97a1e", dark: "#ffb061" },
} as const satisfies Record<string, {
    light: string;
    dark: string;
}>

Members

NameTypeDescription
green{ readonly light: "#2e8b57"; readonly dark: "#6fcf97"; }
blue{ readonly light: "#2865a6"; readonly dark: "#7fb4ee"; }
red{ readonly light: "#d9381e"; readonly dark: "#ff8a6b"; }
violet{ readonly light: "#7b4fb0"; readonly dark: "#c3a1f0"; }
orange{ readonly light: "#d97a1e"; readonly dark: "#ffb061"; }

Examples

import { MEIKYUU_TRAILS } from "@johnmorrisdotca/meikyuu/draw";
console.log(MEIKYUU_TRAILS);
{
  green: { light: '#2e8b57', dark: '#6fcf97' },
  blue: { light: '#2865a6', dark: '#7fb4ee' },
  red: { light: '#d9381e', dark: '#ff8a6b' },
  violet: { light: '#7b4fb0', dark: '#c3a1f0' },
  orange: { light: '#d97a1e', dark: '#ffb061' }
}

What it prints (run when this page was built)

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