CrazyTim / spin-wheel

An easy to use, themeable component for randomising choices and prizes.
https://crazytim.github.io/spin-wheel/examples/themes
MIT License
174 stars 45 forks source link

New property to offset the wheel position #7

Closed CrazyTim closed 2 years ago

CrazyTim commented 2 years ago

Offset from center of canvas. Example:

wheel.positionOffset = {x:0, y:0}

CrazyTim commented 2 years ago

Also add an example where the wheel is offset.