Spin the Wheel

Is the wheel really random?

…

How a winner is chosen

  1. When you spin, the site asks your browser’s cryptographic random generator (crypto.getRandomValues, the same source used for encryption keys) for a number.
  2. That number selects the winner, using each entry’s weight. Integers are drawn with rejection sampling, so no entry is favoured by rounding.
  3. Only then does the animation start – it simply rotates the wheel to the already chosen segment. Clicking faster, slower or at a special moment changes nothing.

Why results sometimes repeat

Randomness has no memory. With 10 entries, the same entry wins two spins in a row in 10 % of cases – that is normal, not a bug. If repeats are unwanted, enable “Remove the winner after each spin”.

Test it yourself

The test above simulates thousands of spins with the exact same code the wheel uses and compares the counts with the expected values (chi-square goodness-of-fit test).