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_FACE_ORDERconstant

The faces in the order a state is written: up, right, front, down, left, back. Each letter is also that face's colour when solved.

Import it

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

Definition

const CUBE_FACE_ORDER: readonly ["U", "R", "F", "D", "L", "B"] = ["U", "R", "F", "D", "L", "B"] as const

Examples

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

console.log(CUBE_FACE_ORDER);
[ 'U', 'R', 'F', 'D', 'L', 'B' ]

What it prints (run when this page was built)

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