Sources & Learning Resources
The official references behind how PickTwirl picks a winner, plus material for teaching randomness and sampling.
PickTwirl is a small tool, but the ideas under it are well documented. Every result on this site comes from your browser's cryptographic random number generator, used with an unbiased selection method so that no entry is favoured. Below are 12 references we use to check that claim and to explain it clearly, drawn from government standards bodies, browser documentation, and recognised education sources.
We link out to these sources because they are more detailed than any summary we could write. They are published and maintained by the organisations named on each card, and we are not affiliated with any of them.
How computers produce random numbers
These references explain the difference between a statistical random number and a cryptographically strong one, and what public randomness beacons are used for.
- Recommendation for Random Number Generation Using Deterministic Random Bit Generators (SP 800-90A Rev. 1)
NIST Computer Security Resource Center
The United States federal recommendation for building random bit generators from hash functions and block ciphers.
- Interoperable Randomness Beacons
NIST
NIST's project on public sources of randomness for auditable processes such as drawing lots and assigning court cases.
- NIST Randomness Beacon
NIST
A live public beacon that publishes a signed, hash-chained 512-bit value every 60 seconds.
- Crypto.getRandomValues()
MDN Web Docs
The browser API PickTwirl uses for unbiased selection, and the reason it is preferred over Math.random().
- Math.random()
MDN Web Docs
Documents why JavaScript's default random function is not suitable when a result must not be predictable.
Sampling, probability, and bias
Random selection is a teaching topic as much as a technical one. These are the clearest explanations of sampling and bias we could find.
- NIST/SEMATECH e-Handbook of Statistical Methods
NIST Information Technology Laboratory
A free, citation-friendly statistics handbook covering random sampling, distributions, and measurement error.
- Techniques for random sampling and avoiding bias
Khan Academy (YouTube)
A short video on why a badly drawn sample misleads, and the techniques that avoid it.
- Introduction to random sampling
Khan Academy (YouTube)
A plain-language introduction to sampling for students meeting the idea for the first time.
- Sampling distributions — AP Statistics playlist
Khan Academy (YouTube)
A full sequence on sampling distributions for anyone teaching or revising the topic.
Classroom and education resources
Official Google education resources for teachers who want to bring random selection into a lesson, an activity, or a group assignment.
- Google for Education
Google
Google's education hub, with tools and teaching resources organised by role and school level.
- Google Classroom
Google
An overview of Classroom, where a picker or team generator often ends up being used alongside assignments.
- Google Classroom Help Center
Google Support
Official step-by-step help for setting up classes, posting work, and managing students.
Why citations matter here
"Random" is a word people use loosely. A shuffled list in a spreadsheet, a coin toss, and a cryptographic random value are different things, and only the last one is designed so that nobody can predict or influence the outcome. The NIST publications above define that distinction precisely, and the browser documentation shows which of JavaScript's random functions meets it.
For teachers, the sampling videos are a practical companion to a live demonstration: run a spin or draw teams in front of a class, then use the videos to explain why a long run of the same winner is not evidence of a broken wheel.
Put it into practice
Try the ideas on this page with the tools themselves.
