How the Reaction Time Test Measures Your Speed
AnyTool Reaction Time Test measures simple visual reaction time entirely in the browser. Each trial shows a red panel, then turns green after a random wait between 1.5 and 5 seconds; the delay is drawn from the Web Crypto API (crypto.getRandomValues via secureRandomInt with rejection sampling, never Math.random), so the moment is unpredictable and can’t be anticipated. The instant the panel turns green the tool records a timestamp with performance.now() — a monotonic, high-resolution clock — and records another when you click, tap, or press Space; the difference, rounded to the nearest millisecond, is your reaction time. Clicking before green cancels the pending green and is reported as “Too soon!”, retrying the trial with no score, and any sub-100 ms result that slips through is rejected as anticipation rather than a genuine reaction.
- Random 1.5–5 s wait before green from crypto.getRandomValues — not Math.random
- Timed with performance.now() (monotonic high-resolution clock), sub-millisecond
- Reaction time = green timestamp − click timestamp, in milliseconds
- Early clicks flagged “Too soon!” and retried with no score
- Reactions under ~100–120 ms are anticipation, not real, and are rejected
