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

Cuboid player

import { … } from "@johnmorrisdotca/kyuubu/cuboid/play";

19.7 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
CUBOID_PLAYER_CSSconstantThe player's stylesheet, put in the page once: the cube player's, under the same class names and custom properties.
CuboidPlayerHandletypeA cuboid player on the page.
CuboidPlayerOptionstypeHow a cuboid player is set up: the solve, and how it is shown.
mountCuboidPlayerfunctionA solve on a cuboid drawn in an element, with its controls.

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