Random Wheel
Choose one of 2–20 user entries with Web Crypto randomness and show it through an SVG wheel spin.
How to use
- Edit entries row by row or paste one per line, keep at least two, then press Spin.
Capabilities and scope
Every entry occupies an equal wedge; randomUint(clean.length) chooses the winner index and the wheel rotates multiple turns to that wedge.
How it works
crypto.getRandomValues rejection sampling selects a uniform index; slice=360/item count is used to rotate the chosen wedge center toward the pointer.
Example
With four valid entries, each has a 1/4 selection probability and the chosen name is shown separately.
Useful for
- Pick one equally weighted option from a small list
Before you use it
- There are no weights; visual spin duration does not determine randomness, and wheel labels can be visually truncated to 10 characters.
Frequently asked questions
Can entries have different probabilities?
No. Every valid entry currently has equal probability.