Reference · Surface maze rules and geometry
SOLID_SHAPESconstant
The shapes.
Import it
import { SOLID_SHAPES } from "@johnmorrisdotca/meikyuu/3d";
Also exported from: @johnmorrisdotca/meikyuu/3d/levels/all
Definition
const SOLID_SHAPES: readonly ["sphere", "box", "cross", "ring", "torus", "star", "heart"] = ["sphere", "box", "cross", "ring", "torus", "star", "heart"] as const
Examples
import { SOLID_SHAPES } from "@johnmorrisdotca/meikyuu/3d";
console.log(SOLID_SHAPES);[
'sphere', 'box',
'cross', 'ring',
'torus', 'star',
'heart'
]What it prints (run when this page was built)