Roulette Wheel jQuery plugin
Switch branches/tags
Nothing to show
Clone or download
Latest commit 520dd25 Jun 18, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
img Initial commit May 27, 2015
src Only rotate if is stoped Jun 18, 2015
LICENSE [ADDED] Readme May 27, 2015
demo.html Initial commit May 27, 2015
jquery-ui.min.js Initial commit May 27, 2015

jQuery Roulette Wheel


jQuery Roulette Wheel allows you to convert a canvas in a random selection roulette. This project is based on this article.

This plugin extends the code in article by:

  • Allowing to add any number of options, auto-generating a color for each one.
  • A callback function is called when an item is selected.
  • The spin button is rendered in the center of the wheel, instead of using a <button> element


  • jQuery
  • jQuery UI


Simply include the rouletteWheel.js and start the plugin with jQuery like this:

  items : {
    'key' : 'value'
  selected : function(key, value){
    'selected callback function'
  spinText : 'Spin me' //text to display in spin button


Coming soon


Released under the MIT License