Reference · All surface collections
MEIKYUU_SOLID_LEVELSconstant
Every list: a solid, then a size.
Import it
import { MEIKYUU_SOLID_LEVELS } from "@johnmorrisdotca/meikyuu/3d/levels/all";
Definition
const MEIKYUU_SOLID_LEVELS: Partial<Record<SolidKind, Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>>>> = { ...FIRST, ...DICE, ...SHAPES }
Members
| Name | Type | Description |
|---|---|---|
heart (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
star (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
ring (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
cross (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
cube (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
sphere (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
tetrahedron (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
octahedron (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
icosahedron (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
prism (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
trapezohedron (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
dodecahedron (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
rhombic-dodecahedron (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
bipyramid (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
icositetrahedron (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
triacontahedron (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
box (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined | |
torus (optional) | Readonly<Record<"small" | "medium" | "large" | "huge" | "colossal", readonly MeikyuuSolidLevel[]>> | undefined |
Examples
import { MEIKYUU_SOLID_LEVELS } from "@johnmorrisdotca/meikyuu/3d/levels/all";
console.log(Object.keys(MEIKYUU_SOLID_LEVELS));[
'cube', 'sphere',
'tetrahedron', 'octahedron',
'icosahedron', 'prism',
'trapezohedron', 'dodecahedron',
'rhombic-dodecahedron', 'bipyramid',
'icositetrahedron', 'triacontahedron',
'box', 'cross',
'ring', 'torus',
'star', 'heart'
]What it prints (run when this page was built)