Decision Wheel
FAQ
Is Math.random() secure?
Yes for games. Not for cryptography. Canvas animation uses seed. Each spin is unpredictable.
Minimum options?
Two required. Five segments ideal. Twenty maximum. Empty lines ignored.
What Random Decision Maker Does
Canvas draws colored wheel. Segments match options. Spin animation runs. Math picks winner index.
No options list leaves server. No results logged. No analytics track spins.
Under the Hood
Forty millisecond frame rotation stops at random final angle. Canvas 2dContext slices pie. Gradient colors fill segments.
Text positioned radially. Pointer arrow sits above. Canvas exports image on demand.
Edge Cases
Fourteen segment wheel?
Nineteen degree sectors. Labels rotate properly. Small phones need larger fonts. Scroll appears.
Single option spin?
Button disabled. Error shows instead. Requires at least two. Validation prevents blank states.