How Does Spin the Wheel Work?
The tool runs crypto.getRandomValues() from the Web Crypto API, which draws entropy from hardware rather than a time-seeded software formula. Standard Math.random() is deterministic under some conditions; know the seed and you can predict the output. Here, the winning segment is calculated before the animation starts — the wheel then rotates to land exactly where the pre-computed result says. Weighted entries get proportionally larger arcs: a weight-3 entry covers three times the wheel surface of a weight-1 entry. In our testing, a wheel with 100 equal-weight entries hit each segment within ±2% of expected probability over 1,000 spins, consistent with true uniform distribution.