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 · All surface collections

solidLevelOffunction

The one-based surface level, or null when this entry has no such kind, size or number.

Import it

import { solidLevelOf } from "@johnmorrisdotca/meikyuu/3d/levels/all";

Definition

function solidLevelOf(kind: SolidKind, size: SolidSize, n: number): MeikyuuSolidLevel | null

Parameters

NameTypeDescription
kindSolidKind

The native surface kind.

size"small" | "medium" | "large" | "huge" | "colossal"

The small, medium, large, huge or colossal collection.

nnumber

The one-based level number.

Returns

MeikyuuSolidLevel | null

The one-based surface level, or null when this entry has no such kind, size or number.

Examples

import { solidLevelOf } from "@johnmorrisdotca/meikyuu/3d/levels/all";
console.log(solidLevelOf("cube","small",1)?.code);
cube:4:prim:3163583831

What it prints (run when this page was built)

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