Decision Maker Wheel
An advanced, physics-based decision wheel with cryptographic randomness, massive preset database, and WCAG 2.1 accessibility compliance.
About
When choices are functionally equivalent, decision paralysis sets in. This tool resolves the Buridan's Ass paradox by serving as an external entropy source. Unlike simplistic random generators, this application utilizes a Physics-Based Decay Engine coupled with Cryptographically Secure Pseudo-Random Number Generation (CSPRNG) to ensure outcomes are both mathematically fair and visually verifiable.
We employ the Web Crypto API (crypto.getRandomValues) to seed the initial angular velocity ω0. The wheel's motion is governed by a rotational kinematic equation with a friction coefficient μ, simulating mechanical resistance. This ensures that the stopping position is non-deterministic from the user's perspective, eliminating selection bias often found in mental number picking or low-quality PRNGs.
Formulas
The core mechanic relies on integrating the angular velocity over time until kinetic energy approaches zero. The stopping condition is defined as:
Where ε is a threshold close to zero (0.001 rad/s). The final angle θ determines the winning index i:
Reference Data
| Parameter | Formula / Value | Description |
|---|---|---|
| Angular Velocity | ω(t) = ω0 × e-kt | Exponential decay simulates air resistance/friction. |
| Sector Probability | P(x) = count(x)∑N | Probability is strictly proportional to entry frequency. |
| Random Seed | U ∼ [0, 232-1] | Derived from OS entropy pool (thermal noise/interrupts). |
| Sample Space | Ω = {s1, s2, ..., sn} | The complete set of distinct user inputs. |
| Friction Coeff | μ ≈ 0.992 | Calibrated for optimal suspense duration (3-6s). |
| Frame Rate | fps ≥ 60Hz | Managed via requestAnimationFrame. |