Skip to the content

Kyuubuキューブ

Turn CSS 3D cubes by touch, keys or notation, reproduce a scramble from a seed, and follow a solve one named step at a time.

Kyuubu (キューブ) is the Japanese spelling of cube. About the name

Contents

Reference · Cube engine and views

CUBE_SCALESconstant

HOW BIG A CUBE IS DRAWN, as a setting: small for a list or a picker, medium, and large. The same names, in the same order, as Toranpu's cards, so a page that uses both says one thing. (A cube's size is its side, 2 to 7, so the setting here is scale.)

Import it

import { CUBE_SCALES } from "@johnmorrisdotca/kyuubu";

Definition

const CUBE_SCALES: readonly ["small", "medium", "large"] = ["small", "medium", "large"] as const

Examples

import { CUBE_SCALES } from "@johnmorrisdotca/kyuubu";

console.log(CUBE_SCALES);
[ 'small', 'medium', 'large' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kyuubu 1.14.1.