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

CubeTurnstype

One, two or three quarter turns, counter-clockwise seen from the axis's positive end.

Import it

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

Definition

type CubeTurns = 1 | 2 | 3;

Examples

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


const value: CubeTurns = 2;
console.log(value);
2

What it prints (run when this page was built)

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