Reference · Surface maze rules and geometry
SOLID_ALGORITHMSconstant
The algorithms that make a maze over a solid: all but Eller's, which needs rows.
Import it
import { SOLID_ALGORITHMS } from "@johnmorrisdotca/meikyuu/3d";
Definition
const SOLID_ALGORITHMS: ("backtracker" | "hunt" | "growing" | "prim" | "kruskal" | "wilson")[] = MEIKYUU_ALGORITHMS.filter((algorithm): algorithm is Exclude<MeikyuuAlgorithm, "eller"> => algorithm !== "eller")
Examples
import { SOLID_ALGORITHMS } from "@johnmorrisdotca/meikyuu/3d";
console.log(SOLID_ALGORITHMS);[ 'backtracker', 'hunt', 'growing', 'prim', 'kruskal', 'wilson' ]What it prints (run when this page was built)