pixi-wheels
All recipes

Stopping

Stopping. Live wheel recipes built with pixi-wheels.

The result decides the section; these settings decide the exact spot and the last half second.

Center, random, exact, angle#

One wheel, a different landing each spin. exact takes the offset the server sent, here 0.9: right by the edge. angle is for backends that send degrees: { angle } is wheel-local, and the result reports which section that turned out to be.

Loading recipe…

Settle: none, center, bounce#

What happens once the pointer is on the landing angle: stay put, pause then glide to the middle of the section for the prize presentation, or overshoot a few degrees and spring back like a mechanical stop. The result reports the landing offset in every case; the settle is presentation only.

Loading recipe…

Skip configs#

Press again while the wheel turns. This wheel refuses a skip in its first 1200 ms and takes 300 ms to land when it accepts one; a press during the server round-trip is queued with requestSkip().

Loading recipe…

Speed profiles#

Four feels on one wheel: each spin uses the next profile. A profile sets the wind-up, the cruise speed, the turn count and how long the stop takes.

Loading recipe…