Wheel of Names
A high-performance, physics-based random name picker with Web Audio synthesis, friction simulation, and confetti effects. Ideal for agile teams, classrooms, and raffles.
About
In professional environments - whether Agile stand-ups, classroom settings, or high-stakes raffles - the perception of fairness is as important as the mathematical reality. Standard pseudo-random number generators (PRNGs) lack the visual, auditory, and temporal feedback required to build suspense and trust. This tool replaces the black box of Math.random with a transparent, physics-based simulation.
We utilize requestAnimationFrame for sub-millisecond rendering precision and the Web Audio API for procedural sound synthesis. The wheel's deceleration follows a strict friction coefficient model, ensuring that every spin feels weighty and authentic. Unlike static MP3 loops, the audio ticks are generated in real-time, synchronizing perfectly with the angular velocity (ω) of the wheel as it approaches zero.
Formulas
The simulation runs on a Newtonian rotational motion model. The angular position θ at any given frame is calculated by integrating the angular velocity ω.
Where Cf is the friction coefficient (typically 0.985 ≤ Cf < 1.0). The audio tick frequency ftick is directly proportional to the velocity:
ftick ∝ |ω|
Reference Data
| Use Case | Input Strategy | Optimal Segment Count | Interaction Mode |
|---|---|---|---|
| Agile Stand-up | Team Roster | 3-10 | Remove winner after selection (Reduction) |
| Classroom Q&A | Student List | 20-30 | Persistent (Repetition allowed) |
| Prize Raffle | Ticket IDs / Names | 50+ | High friction (Longer spin for suspense) |
| Decision Making | Binary Options (Yes/No) | 2-6 | Quick spin (Low friction) |
| Lunch Picker | Restaurant List | 10-15 | Standard Mode |
| Improv Prompts | Scenarios / Emotions | 12-24 | Rapid Fire |