Skip to main content

Spin the Wheel

One name per line. The winner is chosen with Web Crypto, then the wheel animates to that slice. This session counts wins per name. Reset restores the list and clears those scores.

Rated 4.8 out of 5 based on 1010 reviews

Empty lines are ignored. Duplicate a name to give it more of the wheel.

Reset restores the starting slices and clears this session's scores.

How to spin the wheel

  1. Enter at least two names, one per line.
  2. Spin. Click the wheel or the Spin button. The result is a uniform pick, not physics of the animation.
  3. This session counts how often each name wins. Reset restores the starting list and clears those scores.
  4. Use the list picker if you do not want a wheel.

Spin wheel

Uniform name pick with canvas illustration

PickWeb Crypto index into the list
AnimationCanvas 2D, decorative
Limit2 to 100 names

Wheel of names, raffle, decision wheel

Classroom wheels, giveaways, and prize wheels are the same product: a fair pick from a list. This page does not add a second id for those phrases. The canvas is not a GPU benchmark and does not report FPS.

Fairness and animation

The winner is chosen with Web Crypto before the wheel moves. The animation turns to that slice. Reloading and spinning again is a new independent pick. Duplicate a name on extra lines to weight it. For several winners without the wheel, use the list picker.

Remove winner after spin

Turn on that checkbox to delete the winning line after the spin, by index, so duplicate names are not confused. The next idle paint uses the remaining list. You still need at least two names to spin. Shuffle reorders the list with the same Web Crypto source. Reset restores the starting names and clears This session.

Readable slice colors

Each slice picks a label color from the background brightness so names stay readable. Vivid uses dark slices and light text. Pastel uses light slices and dark text. High contrast alternates near-black and near-white. A dedicated yes or no wheel paints Yes green and No red.

Spin wheel questions

Does this page upload what I type?
No. The work runs in the page you opened. CZNull does not receive the input.
Does the animation decide the winner?
No. The name is chosen first. The wheel turns to it.
Weighted slices?
Duplicate a name on extra lines.
Remove winner and duplicates?
Removal uses the winning index, not the first matching string.
Does Reset clear the scores?
Yes. It restores the starting names and sets every session count back to 0. Shuffle only reorders the current list.
Is this a GPU test?
No. Tests live under /tests/. This canvas only illustrates the pick.