Draw simulator · LESSON 5
Weighted draw ② — Key value
Compute one "Key value" from a random number for each entrant. A higher weight tends to give a smaller Key, and the person with the smallest Key wins.
Method ②
Compute Key, pick the smallest
Give each entrant a 0–1 random u and compute Key = −ln(u) ÷ weight. A higher weight makes a smaller Key, an advantage. Press "Compute Key" to check.
Entrant settings — adjust weights with +/−
Tap a name to edit, ✕ to delete. Each addition gets a new color.
Key value & rank per entrant
Computing the Key values sets the ranks. Press "Compute Key" below.
A higher weight tends to give a smaller Key, so it wins more often. A single sort can pick several at once.
The result is just as fair as the interval draw — wins are proportional to weight. Only the "path" to the value differs.
※ This simulator generates randomness on the spot using the browser's built-in secure random number source (crypto.getRandomValues). In production, Unipicker uses an externally published seed such as DRAND.
