リファレンス
番号付きの立体問題
import { … } from "@johnmorrisdotca/meikyuu/3d/levels";
最小化と gzip 圧縮をしたサイズは 20.7 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
findSolidLevels | 関数 | All surface levels in this entry matching the optional kind and size filters. |
MEIKYUU_SOLID_LEVELS | 定数 | Every list this entry has: a solid, then a size. |
MEIKYUU_SOLID_PER_LIST | 定数 | How many levels each size of each solid has: eight pages of eight. |
MeikyuuSolidLevel | 型 | 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 | 定数 | How many ways each solid is cut, for each size: small, medium, large, huge and colossal. |
SOLID_FIRST | 定数 | THE SOLIDS BY HOW THEY ARE MET. |
SOLID_KINDS | 定数 | THE SURFACE OF A SOLID AS A CELL GRAPH: the one thing a maze over a solid is made on. |
SOLID_SIZE_NAMES | 定数 | 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 | 関数 | How many cells a solid has at a size. |
solidCutOf | 関数 | The cut of a solid at a size. |
SolidKind | 型 | A supported polyhedron, die or shaped surface for a maze. |
solidLevelOf | 関数 | The one-based surface level, or null when this entry has no such kind, size or number. |
solidLevelsOf | 関数 | The native surface-level collection for this kind and size; empty when this entry has none. |
SolidSize | 型 | A named small, medium, large, huge or colossal surface-maze collection. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。