1.0.0 • Published 9 years ago

rsdice v1.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
9 years ago

rsDice

Create a textual dice roll effect. Choose how many 'sides' your dice has. Specify the speed at which the dice rolls and then the duration of the roll. The plugin will change the text of a chosen div to give the effect of a changing dice roll, with a final choice for the result of the roll.

Usage

After including jQuery and the rsDice plugin, instantiate rsDice like so:

$(function(){
    $('canvas').rsDice();
});

Options

Demo

Click here to view a demo