GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

04Weighted odds — splitting sector angles by weight for a fair draw

Equal sectors give equal odds, but give each entry a weight and its start/end angles follow cumulative shares — the angles themselves become the probability. The result is judged by resting angle after the stop, so what you see is exactly what you get, rigged nothing.

Best forPrize draws, team picks

Math.randomfillTextarc
Weighted odds — splitting sector angles by weight for a fair draw
Open in a new tab

04 Weighted odds — splitting sector angles by weight for a fair draw — Measured area 22.052% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Spin Wheel: 9 Canvas Roulettes, Flick to Stop

The post this demo lives in

Spin Wheel: 9 Canvas Roulettes, Flick to Stop - preview of all 9 demosSpin Wheel: 9 Canvas Roulettes, Flick to StopIt spins exactly as hard as you flick it. Angular velocity is integrated, friction decays it, and the sector under the p See all demos in this post

If you like this effect - similar demos