Reference · Surface recipe readers
solidRecipesOffunction
The recipes of a solid at a size, in the order of its levels (level 1 first), as the codes buildSolidMaze takes; empty for a solid or a size there is none of.
Import it
import { solidRecipesOf } from "@johnmorrisdotca/meikyuu/3d/levels/recipes";
Definition
function solidRecipesOf(kind: string, size: string): readonly string[]
Parameters
| Name | Type | Description |
|---|---|---|
kind | string | The native puzzle family or surface shape specified by this signature. |
size | string | The named level size, or numeric tall width specified by this signature. |
Returns
readonly string[]
The recipes of a solid at a size, in the order of its levels (level 1 first), as the codes buildSolidMaze takes; empty for a solid or a size there is none of.
Examples
import { solidRecipesOf } from "@johnmorrisdotca/meikyuu/3d/levels/recipes";
console.log(solidRecipesOf("cube","small").length);64What it prints (run when this page was built)