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

Upgrading

Upgrading and coming from other libraries

Stay on version 1, move from another cube library, and choose the right entry point.

Within version 1

Keep imports from the named entry points. Changelog records version-specific additions; existing detailed Markdown references remain linked.

Coming from another cube library

Translate its state representation deliberately: Kyuubu stores stickers in U, R, F, D, L, B order, not an array of cubie identities. Parse notation for the actual size and preserve whole-cube rotations in reconstructions. A beginner-method solution is not promised to be shortest. For cuboids, check slice legality rather than applying ordinary cube quarter turns.

Choosing an integration

Use the core for state and notation, CubeView for a native browser view, the React entry for components and refs, the player for controls, and the element definition entry for HTML tags. Dispose directly mounted handles on removal. The docs search index is built locally with the site and adds no hosted service.

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