An Interactive Applet powered by Sage and MathJax.
(By Prof. Gregory V. Bard. Updated by Ryan G. Hornberger.)
I use this when I forget my dice bag at home.
Just click on the big button, choose what type of dice you need, and click "reroll" as needed.
This applet is powered by Sage, which usually does things much more important than rolling dice.