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

CubeAxistype

An axis of the cube: 0 is x (to the right), 1 is y (up) and 2 is z (towards the viewer).

Import it

import type { CubeAxis } from "@johnmorrisdotca/kyuubu";

Definition

type CubeAxis = 0 | 1 | 2;

Examples

import type { CubeAxis } from "@johnmorrisdotca/kyuubu";


const value: CubeAxis = 0;
console.log(value);
0

What it prints (run when this page was built)

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