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_SCALE_INTERACTIVEconstant

What a cube drawn at each scale is, apart from its width: a small one is for looking at, so it is not turned by a hand or a key unless asked.

Import it

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

Definition

const CUBE_SCALE_INTERACTIVE: Readonly<Record<"small" | "medium" | "large", boolean>> = { small: false, medium: true, large: true }

Members

NameTypeDescription
smallboolean
mediumboolean
largeboolean

Examples

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

console.log(CUBE_SCALE_INTERACTIVE);
{ small: false, medium: true, large: true }

What it prints (run when this page was built)

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