Skip to content
WheelSpinny
Menu

How WheelSpinny picks a winner

What happens when you press Spin, what “fair” means here, and what we don’t claim.

The short version

Step by step

  1. Your list becomes slices. Each non-blank line is one slice. Repeated lines are separate slices, which is how you make an option more likely on purpose.
  2. A random number is drawn. We ask your browser for a random number using crypto.getRandomValues, the cryptographically secure generator built into every modern browser.
  3. The number becomes a slice, without bias. Turning a large random number into “one of 7 slices” with simple division would favor some slices very slightly. We use rejection sampling instead: the rare numbers that would cause that bias are thrown away and a new one is drawn, so every slice is exactly equally likely.
  4. The wheel is aimed at the result. We calculate a stopping angle that puts the chosen slice under the pointer, landing somewhere inside the middle 70% of the slice so it never looks like a borderline call. The wheel then spins forward several full turns and slows to that angle.
  5. The result is revealed. The winning slice is highlighted and the result pops up in words over the wheel, and screen readers announce it.

Things that don’t affect the result

What we don’t claim

Being clear about the limits matters as much as the method:

Try it yourself

Put “Heads” and “Tails” on the wheel and spin 40 times, keeping the winners on. The Results tab shows every outcome. You’ll usually see something close to an even split, but rarely exactly 20 and 20, and probably a streak or two. That unevenness is what genuine randomness looks like over a small number of spins.