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. More than seven hundred cells is not offered: the solid is looked at from outside, one side at a time, and a cell on a phone's screen needs to be a finger wide.
インポート
import { SOLID_SIZE_NAMES } from "@johnmorrisdotca/meikyuu/3d";
ほかのエクスポート元: @johnmorrisdotca/meikyuu/3d/levels, @johnmorrisdotca/meikyuu/3d/levels/dice, @johnmorrisdotca/meikyuu/3d/levels/shapes, @johnmorrisdotca/meikyuu/3d/levels/all
定義
const SOLID_SIZE_NAMES: readonly ["small", "medium", "large", "huge", "colossal"] = ["small", "medium", "large", "huge", "colossal"] as const
例
import { SOLID_SIZE_NAMES } from "@johnmorrisdotca/meikyuu/3d";
console.log(SOLID_SIZE_NAMES);[ 'small', 'medium', 'large', 'huge', 'colossal' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。