Show HN: Scroll through all 43252003274489856000 Rubik's Cube states
everycube.alen.is|272 points|99 comments|by Alen123|Aug 10, 2026
Exploring the Rubik's Cube State Space
Show HN: A project that allows users to virtually scroll through every single possible configuration of a Rubik's Cube.
The total number of permutations for a standard cube is staggering:
This is approximately unique positions. Counting them by hand would be impossible.
🛠️ Project Features & Functionality
The application provides a way to navigate this massive dataset using several tools:
- Visualization Modes: Users can toggle between
2Dand3Drenderings. - Navigation Increments: Instead of moving one by one, you can jump by:
- state
- states
- states
- states
- Specific State Tracking: The system identifies key permutations, such as the Superflip and the Checkerboard pattern.
Permutation Data Overview
| Permutation ID | Notation/Label | View Options | Jump Range |
|---|---|---|---|
| # 1 | FX ★ R' | 2D / 3D | 1 5k |
| Final | Superflip/Checkerboard | 2D / 3D |
📈 Navigation Logic
The flow of browsing through the states can be visualized as follows:
💻 Implementation Detail
The state of the cube is likely handled via a permutation index. For example, the first state might be represented internally as:
{
"permutation_id": 1,
"notation": "FX ★ R'",
"coordinates": [0, 0, 0],
"view": "3D"
}
✅ Project Checklist
- Support for states
- 2D and 3D rendering engines
- Fast-forward jump capabilities
- Identification of Superflip and Checkerboard states
Example of a solved state (Permutation #0/1).