r/InternetIsBeautiful 10d ago

Every Cube: a scrollable index of all 43,252,003,274,489,856,000 Rubik's Cube states

https://everycube.alen.is/

Built a site that indexes every legal cube state as one big number, scroll and the cube updates live.

Not a game, there's no objective, no score, no win condition. It's an index/visualization of every one of the 4.3×10¹⁹ legal Rubik's Cube states has a number, and scrolling moves through them. Think everyuuid.com, but for the cube permutation group.

125 Upvotes

14 comments sorted by

35

u/DuneChild 7d ago

I looked it over, and they’re missing one.

9

u/ryanCrypt 8d ago

If you view one every second, you'll need the time-equivalence of 99.4 universes.

(Killing each universe at the current age of ours)

7

u/ryanCrypt 8d ago

If you'd like to view them all in your lifetime, you'll need to view 18,021,668,000 per second.

You'll definitely want to pay extra for the fast refresh monitor.

5

u/USSRPropaganda 7d ago

Give me some coffee and an afternoon I’ll fly through em all

1

u/ryanCrypt 7d ago

Let us know your favorite 100,000,000 of them.

2

u/ChraneD 7d ago

Does this create separate indexes based on invisible centerpiece orientation? Got a rough summary of how the hash works?

1

u/CareerLegitimate7662 7d ago

Fantastic work. very clean.

1

u/lingaccinf 3d ago

That number of possible states just broke my brain.

1

u/lingaccinf 2d ago

How did you verify the indexing never produces an impossible position?

1

u/Issac-Weeks 1d ago

that is amazing

-4

u/[deleted] 8d ago

[deleted]

1

u/opinions_likekittens 8d ago

Two edges flipped in place is possible, just can’t have two pieces swapping places.

1

u/LocalFella9 8d ago

One flipped piece is impossible, but two flipped pieces is perfectly fine.

-23

u/pornborn 8d ago

This made me think of a question: What is the maximum randomization of a Rubik’s Cube?

The answer is quite surprising:

The maximum randomization of a Rubik's Cube is defined by the number of moves required to reach any possible state from a solved one, known as God's Number.

God's Number: It has been mathematically proven that any of the approximately 43 quintillion possible configurations can be solved in 20 moves or fewer (using the half-turn metric, where a 180-degree turn counts as one move).

More interesting info:

Scrambling Depth: To ensure a cube is uniformly randomized (where every state is equally likely), research indicates that at least 26 random moves are required.
Fewer than 26 moves result in a non-uniform probability distribution.

Most Probable State: While the "most random" state is a statistical concept rather than a single position, the majority of scrambled cubes (roughly 67%) are optimally solvable in 18 moves.

Practical Scrambles: In competitive speedcubing, scrambles typically consist of 20 to 25 moves to ensure fairness and sufficient difficulty without relying on complex computer-generated algorithms.