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 elements

import { … } from "@johnmorrisdotca/kyuubu/element";

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

Exports

NameKindWhat it is
CUBE_ELEMENT_ATTRIBUTESconstantThe attributes the element reads.
CUBE_ELEMENT_NAMEconstantThe name the element is registered under.
defineCubefunctionRegister <kyuubu-cube>, once.
defineScramblefunctionRegister <kyuubu-scramble>, once.
KyuubuCubeElementtypeWhat the element adds to an ordinary one.
KyuubuScrambleElementtypeWhat the element adds to an ordinary one.
paceFromAttributefunctionA pace from an attribute: a name, or seconds.
SCRAMBLE_ELEMENT_ATTRIBUTESconstantThe attributes the element reads.
SCRAMBLE_ELEMENT_NAMEconstantThe name the element is registered under.

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