Skip to main content

Hyperspeedcube

Hyperspeedcube logo

Multidimensional twisty puzzle simulator

Hyperspeedcube is a modern, beginner-friendly 3D and 4D Rubik’s cube simulator with customizable mouse and keyboard controls and advanced features for speedsolving. It’s been used to break numerous speedsolving records and runs on all major operating systems plus the web.

Try it online!

If you’re new to hypercubing, check out hypercubing.xyz, the Hypercubing community website, which I also help maintain.

Download #

Windows Linux macOS Source code

The latest version is Release badge

Or see instructions to build from source

Help #

See Hyperspeedcube - Troubleshooting and the FAQ.

Screenshots #

Click for full resolution.

3x3x3x3 with the far cell mid-twist 3x3x3x3 near the end of F2L-b with many tools and settings windows open Solved 2x2x2 3x3x3 superflip 3x3x3x3 with the back cell mid-twist Solved 3x3x3x3 with 2c pieces highlighted and stickers on the same piece connected

Features #

  • Supports several puzzles
    • 3D Rubik’s cube from 1x1 up to 9x9
    • 4D “Rubik’s hypercube” from 1x1 up to 9x9
  • Import/export using .hsc or MC4D-compatible .log file
    • .log is available for 4D only
  • Mouse and keyboard controls for all puzzles, with multiple keybind sets
  • Filter which pieces are visible, with presets
  • Mark pieces to track as they move
  • Everything is customizable
    • Keybinds
    • Mouse controls
    • Colors
    • Opacity
    • Animation speed
    • 3D and 4D projection settings
    • Lighting

How to use #

Hyperspeedcube has completely customizable mouse and keyboard controls. By default:

  • Left click to rotate a face counterclockwise
  • Right click to rotate a face clockwise
  • Middle click to recenter a face
  • See Help → Keybinds reference for keybinds

The keyboard controls for the 3D Rubik’s cube are mostly based on Ryan Heise’s speedcube simulator.

For instructions on how to use or customize the keybinds, see this video tutorial.

For instructions on how to use piece filters, see this video tutorial.

Future plans #

I am currently (as of mid 2024) working on Hyperspeedcube 2.0, which will vastly expand the capabilities of Hyperspeedcube’s puzzle engine and overhaul the UI to be more powerful and more intuitive.

New puzzle engine #

status: complete enough

The new puzzle engine is almost completely implemented. Puzzles are defined using a Lua API, and can be reloaded in seconds. Puzzles from 3D to 7D can be rendered, although there are only mouse controls available for 3D and 4D puzzles. Puzzles are defined using (hyper)planar cuts and must be doctrinaire. This is sufficient to simulate nearly every 4D+ twisty puzzle we are currently aware of and many more. Once released, Hyperspeedcube 2 will make Magic Cube 4D, Magic Cube 5D, Magic Cube 7D, Magic Puzzle Ultimate, and Magic Simplex 5D completely obsolete, and will make pCubes and Magic 120 Cell largely obsolete.

See this GitHub issue for a list of puzzles that will be in Hyperspeedcube 2.0.

With further modification, this new puzzle engine will also be able to support features never before seen in higher-dimensional puzzles, including bandaging, jumbling, certain nonplanar cuts, puzzle generators (e.g., P×Q×R×S hypercuboid generator), and multiple cores (e.g., corner-turning cuboids).

I also intend to add a tiling engine, which will support everything in MagicTile as well as puzzles on non-regular tilings. I’m still investigating what this would look like, and what the limits would be.

Overhauled UI #

status: in progress

Colors #

status: complete

The new color customization UI is complete. It supports built-in and user-defined color sets for each shape and a customizable global color palette.

FTO and 3x3x3, with many FTO color schemes listed on the right and a list of many colors on the left, organized into sets of various sizes, with a color picker open on one of them

Keybinds #

status: not started

The keybind sets system in Hyperspeedcube 1 is complex and unintuitive. I have plans for a system involving modes that will have just one list of keybinds organized into collapsible sections, and each section may be active in some subset of modes. Keybinds will be shared between puzzles with similar twist sets, even if the shapes are different; for example, a face-turning cube and corner-turning octahedron would share the same keybinds.

Piece filters #

status: complete

The new piece filters UI is complete. It is more powerful and easier to learn than the piece filters in Hyperspeedcube 1, with the following features:

  • Tri-state checkboxes (similar to MC7D)
  • Text-based filters with boolean algebra expressions
  • Hierarchy of piece types for big puzzles
  • Multiple styles for different piece sets
  • User-defined sequences of piece filter presets

14x14x14, with corners and most centers visible, but edges, wings, and a few centers hidden; on the right is a tree of piece types, each with a checkbox that is empty for visible piece types and contains an 'X' for hidden piece types 3x3x3, with some pieces completely opaque, some pieces transparent, and some pieces completely hidden; on the left is a text box and a set of checkboxes controlling the filters

While text-based filters are more expressive than the checkboxes, both systems are capable of creating the same filter views.

These features are desired for the future, but there are currently unresolved questions preventing their implementation:

  • Tool to click on pieces to show/hide them
  • Rotating piece filters

Other features #

There are other oft-requested features that will become even more important with the new variety of puzzles. I don’t expect all of these to make it into the first release of Hyperspeedcube 2, but I intend to implement all of them eventually:

  • New puzzle list status: complete
  • New color picker status: complete
  • Timer with auto splitting status: not started
  • Fewest-moves solution leaderboard status: partially complete
  • Timeline for analyzing speedsolves/FMC solutions
  • Macros (custom move sequences)
  • Auto-updater

Following development #

I’ll be posting updates in the Hyperspeedcube 2.0 Development Updates thread in #hyper-forum on the Hypercubers Discord server. Once Hyperspeedcube 2.0 is ready for general use, I will ping the @Hyperspeedcube Update role (and possibly @everyone). If you’d like to support me monetarily and get access to early builds, you can support me on Ko-fi. Any builds I provide on Ko-fi will also be available by building from source on GitHub, and once a stable version is ready and has been beta-tested by my Ko-fi supporters, it will be available to download for everyone, for free.