Reference
Solid shape levels
import { … } from "@johnmorrisdotca/meikyuu/3d/levels/shapes";
23.8 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
findSolidLevels | function | All surface levels in this entry matching the optional kind and size filters. |
MEIKYUU_SOLID_LEVELS | constant | Every list this entry has: a solid, then a size. |
MEIKYUU_SOLID_PER_LIST | constant | How many levels each size of each solid has: eight pages of eight. |
MeikyuuSolidLevel | type | A LEVEL OF A SOLID, AND HOW A FILE OF ROWS BECOMES THE LISTS: the shape every level entry of the solids shares (3d/levels, 3d/levels/dice, 3d/levels/shapes, 3d/levels/all), so that each file of recipes is turned into levels by the same code, and a page that shows one solid loads the file of that solid and no other. |
SOLID_CUTS | constant | How many ways each solid is cut, for each size: small, medium, large, huge and colossal. |
SOLID_KINDS | constant | THE SURFACE OF A SOLID AS A CELL GRAPH: the one thing a maze over a solid is made on. |
SOLID_MORE_SHAPES | constant | The additional box, cross, ring, torus, star and heart surface families. |
SOLID_SIZE_NAMES | constant | THE SIZES OF THE LEVELS OF A SOLID: three to each, small, medium and large, cut so that they come to about the same number of cells whichever solid it is (under a hundred, about three hundred, and six to seven hundred), and so that the one kind of solid is not the easy one: a cube cut 4, 7 and 10 ways has 96, 294 and 600 cells, a globe at frequency 3, 5 and 8 has 92, 252 and 642, an octahedron cut 3, 6 and 9 has 72, 288 and 648. |
solidCellsOf | function | How many cells a solid has at a size. |
solidCutOf | function | The cut of a solid at a size. |
SolidKind | type | A supported polyhedron, die or shaped surface for a maze. |
solidLevelOf | function | The one-based surface level, or null when this entry has no such kind, size or number. |
solidLevelsOf | function | The native surface-level collection for this kind and size; empty when this entry has none. |
SolidSize | type | A named small, medium, large, huge or colossal surface-maze collection. |